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

Unified Diff: Source/core/html/BaseMultipleFieldsDateAndTimeInputType.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/BaseChooserOnlyDateAndTimeInputType.cpp ('k') | Source/core/html/ColorInputType.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/BaseMultipleFieldsDateAndTimeInputType.cpp
diff --git a/Source/core/html/BaseMultipleFieldsDateAndTimeInputType.cpp b/Source/core/html/BaseMultipleFieldsDateAndTimeInputType.cpp
index ee7a8c8183b3a256622ae38089f8ea3762542e5f..9923fdfd29cf1ff82bb7a91acbb68b25cb46696e 100644
--- a/Source/core/html/BaseMultipleFieldsDateAndTimeInputType.cpp
+++ b/Source/core/html/BaseMultipleFieldsDateAndTimeInputType.cpp
@@ -333,10 +333,10 @@ void BaseMultipleFieldsDateAndTimeInputType::createShadowSubtree()
Document& document = element()->document();
ContainerNode* container = element()->userAgentShadowRoot();
- container->appendChild(DateTimeEditElement::create(&document, *this));
+ container->appendChild(DateTimeEditElement::create(document, *this));
updateInnerTextValue();
- container->appendChild(ClearButtonElement::create(&document, *this));
- container->appendChild(SpinButtonElement::create(&document, *this));
+ container->appendChild(ClearButtonElement::create(document, *this));
+ container->appendChild(SpinButtonElement::create(document, *this));
bool shouldAddPickerIndicator = false;
if (InputType::themeSupportsDataListUI(this))
@@ -346,7 +346,7 @@ void BaseMultipleFieldsDateAndTimeInputType::createShadowSubtree()
m_pickerIndicatorIsAlwaysVisible = true;
}
if (shouldAddPickerIndicator) {
- container->appendChild(PickerIndicatorElement::create(&document, *this));
+ container->appendChild(PickerIndicatorElement::create(document, *this));
m_pickerIndicatorIsVisible = true;
updatePickerIndicatorVisibility();
}
« no previous file with comments | « Source/core/html/BaseChooserOnlyDateAndTimeInputType.cpp ('k') | Source/core/html/ColorInputType.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698