Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2834)

Unified Diff: Source/web/RemoteBridgeFrameOwner.cpp

Issue 937203003: Make load events in iframe elements work with OOPIF (Blink side). (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rename DispatchFrameOwnerLoadEvent to DispatchLoadEventForFrameOwner Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/web/WebRemoteFrameImpl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/RemoteBridgeFrameOwner.cpp
diff --git a/Source/web/RemoteBridgeFrameOwner.cpp b/Source/web/RemoteBridgeFrameOwner.cpp
index 844e9f901d6c42577ee1548a9ee8e2e2e76a6e9c..9f19971dd45c0d6f8854ccde30c8846489704909 100644
--- a/Source/web/RemoteBridgeFrameOwner.cpp
+++ b/Source/web/RemoteBridgeFrameOwner.cpp
@@ -5,6 +5,8 @@
#include "config.h"
#include "web/RemoteBridgeFrameOwner.h"
+#include "public/web/WebFrameClient.h"
+
namespace blink {
RemoteBridgeFrameOwner::RemoteBridgeFrameOwner(PassRefPtrWillBeRawPtr<WebLocalFrameImpl> frame, SandboxFlags flags)
@@ -21,7 +23,8 @@ void RemoteBridgeFrameOwner::trace(Visitor* visitor)
void RemoteBridgeFrameOwner::dispatchLoad()
{
- // FIXME: Implement. Most likely goes through m_frame->client().
+ if (m_frame->client())
+ m_frame->client()->dispatchLoad();
}
} // namespace blink
« no previous file with comments | « no previous file | Source/web/WebRemoteFrameImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698