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

Unified Diff: Source/WebCore/html/HTMLFrameElementBase.cpp

Issue 14297020: Merge 147281 "Cross-Origin copy&paste / drag&drop allowing XSS v..." (Closed) Base URL: svn://svn.chromium.org/blink/branches/chromium/1453/
Patch Set: Created 7 years, 8 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
« no previous file with comments | « Source/WebCore/html/HTMLFrameElementBase.h ('k') | Source/WebCore/html/parser/HTMLConstructionSite.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/html/HTMLFrameElementBase.cpp
===================================================================
--- Source/WebCore/html/HTMLFrameElementBase.cpp (revision 148876)
+++ Source/WebCore/html/HTMLFrameElementBase.cpp (working copy)
@@ -222,6 +222,11 @@
return attribute.name() == srcAttr || HTMLFrameOwnerElement::isURLAttribute(attribute);
}
+bool HTMLFrameElementBase::isHTMLContentAttribute(const Attribute& attribute) const
+{
+ return attribute.name() == srcdocAttr || HTMLFrameOwnerElement::isHTMLContentAttribute(attribute);
+}
+
int HTMLFrameElementBase::width()
{
document()->updateLayoutIgnorePendingStylesheets();
« no previous file with comments | « Source/WebCore/html/HTMLFrameElementBase.h ('k') | Source/WebCore/html/parser/HTMLConstructionSite.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698