Index: third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.h |
diff --git a/third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.h b/third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.h |
index 26ec6013afad28090c721987c83f2423b51a1f0e..7f2cd10e6f77e92ac4e506e1c89740b9eb1a7b6e 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.h |
+++ b/third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.h |
@@ -74,8 +74,6 @@ public: |
}; |
// FrameOwner overrides: |
- bool isLocal() const override { return true; } |
- bool isRemote() const override { return false; } |
void setContentFrame(Frame&) override; |
void clearContentFrame() override; |
void dispatchLoad() override; |
@@ -95,6 +93,11 @@ protected: |
bool loadOrRedirectSubframe(const KURL&, const AtomicString& frameName, bool replaceCurrentItem); |
private: |
+ // Intentionally private to prevent redundant checks when the type is |
+ // already HTMLFrameOwnerElement. |
+ bool isLocal() const override { return true; } |
+ bool isRemote() const override { return false; } |
+ |
bool isKeyboardFocusable() const override; |
bool isFrameOwnerElement() const final { return true; } |