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 16e7a51bac18768d2e538862c4219afd13f336f5..010f601b3612ae33fdf11289df204805685c3d55 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.h |
+++ b/third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.h |
@@ -90,6 +90,7 @@ class CORE_EXPORT HTMLFrameOwnerElement : public HTMLElement, |
int marginHeight() const override { return -1; } |
bool allowFullscreen() const override { return false; } |
bool allowPaymentRequest() const override { return false; } |
+ bool isDisplayNone() const override { return !m_widget; } |
AtomicString csp() const override { return nullAtom; } |
const WebVector<mojom::blink::PermissionName>& delegatedPermissions() |
const override; |
@@ -106,6 +107,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 |