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

Unified Diff: Source/core/html/InputType.cpp

Issue 23886003: Have HTMLElements / SVGElements constructors take a Document reference in argument (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Another Android build fix Created 7 years, 3 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/core/html/ImageDocument.cpp ('k') | Source/core/html/LabelableElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/InputType.cpp
diff --git a/Source/core/html/InputType.cpp b/Source/core/html/InputType.cpp
index 8b2ebc389b867ec04db0da4fa685a01667983a8a..9696317adab4c7b67519d04bdb84b585c5da5fb5 100644
--- a/Source/core/html/InputType.cpp
+++ b/Source/core/html/InputType.cpp
@@ -396,7 +396,7 @@ void InputType::destroyShadowSubtree()
// FIXME: Remove the PasswordGeneratorButtonElement's shadow root and then remove this loop.
while ((root = root->youngerShadowRoot())) {
root->removeChildren();
- root->appendChild(HTMLShadowElement::create(shadowTag, &element()->document()));
+ root->appendChild(HTMLShadowElement::create(shadowTag, element()->document()));
}
}
« no previous file with comments | « Source/core/html/ImageDocument.cpp ('k') | Source/core/html/LabelableElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698