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 996939a7fdbdacfbf0ad0535c47cf7a408c330d9..954876fcd19c88e7459693f338ec779b5ffc93a6 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.h |
+++ b/third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.h |
@@ -86,9 +86,13 @@ class CORE_EXPORT HTMLFrameOwnerElement : public HTMLElement, |
int marginWidth() const override { return -1; } |
int marginHeight() const override { return -1; } |
bool allowFullscreen() const override { return false; } |
+ bool isDisplayNone() const override { return !layoutObject(); } |
AtomicString csp() const override { return nullAtom; } |
const WebVector<WebPermissionType>& delegatedPermissions() const override; |
+ // Element overrides: |
+ void setLayoutObject(LayoutObject*) override; |
+ |
DECLARE_VIRTUAL_TRACE(); |
protected: |
@@ -101,6 +105,7 @@ class CORE_EXPORT HTMLFrameOwnerElement : public HTMLElement, |
bool isKeyboardFocusable() const override; |
void disposeWidgetSoon(Widget*); |
+ void frameOwnerPropertiesChanged(); |
private: |
// Intentionally private to prevent redundant checks when the type is |