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 93281bfa9bdd022a48a26d137f50d11df7ea897d..75d3864d39fc5bd556736709e9f0dde073e3fd17 100644 |
--- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
@@ -1709,10 +1709,10 @@ WebLocalFrameImpl* WebLocalFrameImpl::fromFrame(LocalFrame* frame) { |
} |
WebLocalFrameImpl* WebLocalFrameImpl::fromFrame(LocalFrame& frame) { |
- FrameLoaderClient* client = frame.loader().client(); |
- if (!client || !client->isFrameLoaderClientImpl()) |
+ LocalFrameClient* client = frame.loader().client(); |
+ if (!client || !client->isLocalFrameClientImpl()) |
return nullptr; |
- return toFrameLoaderClientImpl(client)->webFrame(); |
+ return toLocalFrameClientImpl(client)->webFrame(); |
} |
WebLocalFrameImpl* WebLocalFrameImpl::fromFrameOwnerElement(Element* element) { |