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

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

Issue 2191443002: Ensure the permissions DOMTokenList is initialized before access (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 eab1b4594bf54ddac3c302e7ab7dd46d79b2a211..10c95bb590b0f3cb9cd80049a096205257d0917a 100644
--- a/third_party/WebKit/Source/core/html/HTMLIFrameElement.h
+++ b/third_party/WebKit/Source/core/html/HTMLIFrameElement.h
@@ -40,7 +40,7 @@ public:
DECLARE_VIRTUAL_TRACE();
~HTMLIFrameElement() override;
DOMTokenList* sandbox() const;
- DOMTokenList* permissions() const;
+ DOMTokenList* permissions();
esprehn 2016/07/27 06:05:56 This is logically const, I'd const cast in the met
raymes 2016/07/27 06:13:45 Done.
void sandboxValueWasSet();
void permissionsValueWasSet();

Powered by Google App Engine
This is Rietveld 408576698