Index: third_party/WebKit/Source/core/frame/LocalDOMWindow.h |
diff --git a/third_party/WebKit/Source/core/frame/LocalDOMWindow.h b/third_party/WebKit/Source/core/frame/LocalDOMWindow.h |
index a6e4d289c3a98002bdf09a4307cb81a757a0e85e..6fec6f0fc34b8d1af9dd4ebe882e5560eca7b176 100644 |
--- a/third_party/WebKit/Source/core/frame/LocalDOMWindow.h |
+++ b/third_party/WebKit/Source/core/frame/LocalDOMWindow.h |
@@ -86,7 +86,6 @@ public: |
LocalDOMWindow* toLocalDOMWindow() override; |
// DOMWindow overrides: |
- bool isLocalDOMWindow() const override { return true; } |
LocalFrame* frame() const override; |
Screen* screen() const override; |
History* history() const override; |
@@ -211,6 +210,11 @@ protected: |
private: |
class WindowFrameObserver; |
+ // Intentionally private to prevent redundant checks when the type is |
+ // already LocalDOMWindow. |
+ bool isLocalDOMWindow() const override { return true; } |
+ using DOMWindow::isRemoteDOMWindow; |
esprehn
2016/05/26 20:36:45
can we just write return false here?
dcheng
2016/05/26 20:45:32
Done.
|
+ |
explicit LocalDOMWindow(LocalFrame&); |
void dispose(); |