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 7a1c25a7383ffffcb86d09f88dcdbf1000fa9c86..09a25ed34feee39257a4e2d6422becd0262987d8 100644 |
--- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
@@ -1711,10 +1711,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) { |