Index: third_party/WebKit/Source/core/frame/LocalFrame.h |
diff --git a/third_party/WebKit/Source/core/frame/LocalFrame.h b/third_party/WebKit/Source/core/frame/LocalFrame.h |
index 13138662ecb92f2fdfaaf9a595154ed9b1ea2586..e18294569b14e6f9e24df0ee01eaabd6a661e314 100644 |
--- a/third_party/WebKit/Source/core/frame/LocalFrame.h |
+++ b/third_party/WebKit/Source/core/frame/LocalFrame.h |
@@ -90,7 +90,6 @@ public: |
// Frame overrides: |
~LocalFrame() override; |
DECLARE_VIRTUAL_TRACE(); |
- bool isLocalFrame() const override { return true; } |
DOMWindow* domWindow() const override; |
WindowProxy* windowProxy(DOMWrapperWorld&) override; |
void navigate(Document& originDocument, const KURL&, bool replaceCurrentItem, UserGestureStatus) override; |
@@ -189,6 +188,10 @@ private: |
// Internal Frame helper overrides: |
WindowProxyManager* getWindowProxyManager() const override; |
+ // Intentionally private to prevent redundant checks when the type is |
+ // already LocalFrame. |
+ bool isLocalFrame() const override { return true; } |
+ using Frame::isRemoteFrame; |
esprehn
2016/05/26 20:36:45
ditto?
dcheng
2016/05/26 20:45:32
Done.
|
String localLayerTreeAsText(unsigned flags) const; |