Index: third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp |
diff --git a/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp b/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp |
index 7f43290a4dd296830ef59a298d841897d73f9a5d..a108198a66c953d8847dbdc269ca263134d32642 100644 |
--- a/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp |
+++ b/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp |
@@ -108,6 +108,15 @@ |
namespace blink { |
+namespace { |
+ |
+Frame* toCoreFrame(WebFrame* frame) |
+{ |
+ return frame ? frame->toImplBase()->frame() : nullptr; |
dcheng
2015/11/23 09:00:17
Most locations that convert a WebFrame to a Frame
|
+} |
+ |
+} // namespace |
+ |
FrameLoaderClientImpl::FrameLoaderClientImpl(WebLocalFrameImpl* frame) |
: m_webFrame(frame) |
{ |