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

Unified Diff: third_party/WebKit/Source/web/RemoteFrameClientImpl.cpp

Issue 2865953002: Move more users of WebLocalFrameImpl to WebLocalFrameBase. (Closed)
Patch Set: Convert DedicatedWorkerMessagingProxyProviderImpl to use WebLocalFrameBase. Created 3 years, 7 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
Index: third_party/WebKit/Source/web/RemoteFrameClientImpl.cpp
diff --git a/third_party/WebKit/Source/web/RemoteFrameClientImpl.cpp b/third_party/WebKit/Source/web/RemoteFrameClientImpl.cpp
index 53eb4fcb5a8c01bba3a7e2bbb935fdd86812def5..a681c4a7811a8f5d110a078178e057b61e68e972 100644
--- a/third_party/WebKit/Source/web/RemoteFrameClientImpl.cpp
+++ b/third_party/WebKit/Source/web/RemoteFrameClientImpl.cpp
@@ -10,6 +10,7 @@
#include "core/events/WheelEvent.h"
#include "core/frame/RemoteFrame.h"
#include "core/frame/RemoteFrameView.h"
+#include "core/frame/WebLocalFrameBase.h"
#include "core/layout/api/LayoutItem.h"
#include "core/layout/api/LayoutPartItem.h"
#include "platform/exported/WrappedResourceRequest.h"
@@ -19,7 +20,6 @@
#include "platform/wtf/PtrUtil.h"
#include "public/web/WebRemoteFrameClient.h"
#include "web/WebInputEventConversion.h"
-#include "web/WebLocalFrameImpl.h"
#include "web/WebRemoteFrameImpl.h"
namespace blink {
@@ -132,7 +132,7 @@ void RemoteFrameClientImpl::ForwardPostMessage(
LocalFrame* source_frame) const {
if (web_frame_->Client())
web_frame_->Client()->ForwardPostMessage(
- WebLocalFrameImpl::FromFrame(source_frame), web_frame_,
+ WebLocalFrameBase::FromFrame(source_frame), web_frame_,
WebSecurityOrigin(std::move(target)), WebDOMMessageEvent(event));
}
@@ -148,7 +148,7 @@ void RemoteFrameClientImpl::UpdateRemoteViewportIntersection(
void RemoteFrameClientImpl::AdvanceFocus(WebFocusType type,
LocalFrame* source) {
web_frame_->Client()->AdvanceFocus(type,
- WebLocalFrameImpl::FromFrame(source));
+ WebLocalFrameBase::FromFrame(source));
}
void RemoteFrameClientImpl::VisibilityChanged(bool visible) {

Powered by Google App Engine
This is Rietveld 408576698