Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(183)

Unified Diff: third_party/WebKit/Source/core/html/HTMLIFrameElement.h

Issue 2631233003: Avoid mutating frame owner when detaching a provisional frame. (Closed)
Patch Set: Fix test to actually test the changed behavior. Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/html/HTMLIFrameElement.h
diff --git a/third_party/WebKit/Source/core/html/HTMLIFrameElement.h b/third_party/WebKit/Source/core/html/HTMLIFrameElement.h
index c49204af92dc9c9ec43e1902ab33e52a71de885c..51ae060faa6306b585b3fff35a19ac7bb79f37bc 100644
--- a/third_party/WebKit/Source/core/html/HTMLIFrameElement.h
+++ b/third_party/WebKit/Source/core/html/HTMLIFrameElement.h
@@ -73,11 +73,10 @@ class CORE_EXPORT HTMLIFrameElement final
ReferrerPolicy referrerPolicyAttribute() override;
+ // FrameOwner overrides:
bool allowFullscreen() const override { return m_allowFullscreen; }
bool allowPaymentRequest() const override { return m_allowPaymentRequest; }
-
AtomicString csp() const override { return m_csp; }
-
const WebVector<WebPermissionType>& delegatedPermissions() const override {
return m_delegatedPermissions;
}

Powered by Google App Engine
This is Rietveld 408576698