Index: third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
diff --git a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
index 4cb7d027f8e9302666faadc7677f12e37094d8e5..074ab6bf11115315dad323183e060bdb45674aee 100644 |
--- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
@@ -1927,6 +1927,17 @@ void WebLocalFrameImpl::didFail(const ResourceError& error, bool wasProvisional, |
client()->didFailProvisionalLoad(this, webError, webCommitType); |
else |
client()->didFailLoad(this, webError, webCommitType); |
+ if (WebPluginContainerImpl* plugin = pluginContainerFromFrame(frame())) |
+ plugin->didFailLoading(error); |
+} |
+ |
+void WebLocalFrameImpl::didFinish() |
+{ |
+ if (!client()) |
+ return; |
+ client()->didFinishLoad(this); |
+ if (WebPluginContainerImpl* plugin = pluginContainerFromFrame(frame())) |
+ plugin->didFinishLoading(); |
} |
void WebLocalFrameImpl::setCanHaveScrollbars(bool canHaveScrollbars) |