summaryrefslogtreecommitdiffstats
path: root/Source/WebKit/android/nav/WebView.cpp
diff options
context:
space:
mode:
authorRussell Brenner <russellbrenner@google.com>2012-01-24 10:06:49 -0800
committerRussell Brenner <russellbrenner@google.com>2012-01-24 10:17:41 -0800
commit859c01f9680c58ddff5938862087b41478acd0a0 (patch)
treec628ab51cca6e550a9dfb0e19d2978588ee5375e /Source/WebKit/android/nav/WebView.cpp
parent541839a11103a72d486edaab8a5c9e9499554511 (diff)
downloadexternal_webkit-859c01f9680c58ddff5938862087b41478acd0a0.zip
external_webkit-859c01f9680c58ddff5938862087b41478acd0a0.tar.gz
external_webkit-859c01f9680c58ddff5938862087b41478acd0a0.tar.bz2
Fix uninitialized return value for decoding
WebCore::TextEncoding::decode() has a return flag, passed by reference, which is set only upon failure, remaining uninitialized upon success. The flag is now initted to false by the caller. If it then changes to true, it indicates an actual failure, so we exit early. Change-Id: Ie4655349b8e44d92e8d7cc7531a6bcc077efbb34
Diffstat (limited to 'Source/WebKit/android/nav/WebView.cpp')
0 files changed, 0 insertions, 0 deletions