summaryrefslogtreecommitdiffstats
path: root/WebKit
diff options
context:
space:
mode:
authorLeon Scroggins III <scroggo@google.com>2010-10-04 11:34:43 -0400
committerLeon Scroggins III <scroggo@google.com>2010-10-04 11:34:43 -0400
commit85248e3a39ad1010d9df785fc0d82162fe7d2d27 (patch)
treed2d9e707d981137119d12f171818ac91d685d1c2 /WebKit
parent740f5071cda344b465351484f5362492fef31b5b (diff)
downloadexternal_webkit-85248e3a39ad1010d9df785fc0d82162fe7d2d27.zip
external_webkit-85248e3a39ad1010d9df785fc0d82162fe7d2d27.tar.gz
external_webkit-85248e3a39ad1010d9df785fc0d82162fe7d2d27.tar.bz2
When a page fails to load, notify that the page is finished
Bug:2974418 Change-Id: I55f8ee1c235004da9ea6bed13af0758f10b715a8
Diffstat (limited to 'WebKit')
-rw-r--r--WebKit/android/WebCoreSupport/FrameLoaderClientAndroid.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/WebKit/android/WebCoreSupport/FrameLoaderClientAndroid.cpp b/WebKit/android/WebCoreSupport/FrameLoaderClientAndroid.cpp
index 997c421..b756dc3 100644
--- a/WebKit/android/WebCoreSupport/FrameLoaderClientAndroid.cpp
+++ b/WebKit/android/WebCoreSupport/FrameLoaderClientAndroid.cpp
@@ -378,6 +378,9 @@ void FrameLoaderClientAndroid::dispatchDidFailProvisionalLoad(const ResourceErro
// Delete the asset.
delete a;
+
+ // Report that the load is finished, since it failed.
+ didFinishLoad();
}
void FrameLoaderClientAndroid::dispatchDidFailLoad(const ResourceError&) {