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

Unified Diff: Source/core/html/shadow/DateTimeFieldElement.cpp

Issue 23819007: Have Node::document() return a reference instead of a pointer (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase on master Created 7 years, 4 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/shadow/DateTimeEditElement.cpp ('k') | Source/core/html/shadow/HTMLContentElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/shadow/DateTimeFieldElement.cpp
diff --git a/Source/core/html/shadow/DateTimeFieldElement.cpp b/Source/core/html/shadow/DateTimeFieldElement.cpp
index d7ee1e3cc4afc82608b4331c34db64dab8811de1..ae9c5d00767d27d4220546d19be912dc75ee4a59 100644
--- a/Source/core/html/shadow/DateTimeFieldElement.cpp
+++ b/Source/core/html/shadow/DateTimeFieldElement.cpp
@@ -154,7 +154,7 @@ void DateTimeFieldElement::initialize(const AtomicString& pseudo, const String&
setAttribute(aria_helpAttr, axHelpText);
setPart(pseudo);
- appendChild(Text::create(document(), visibleValue()));
+ appendChild(Text::create(&document(), visibleValue()));
}
bool DateTimeFieldElement::isDateTimeFieldElement() const
@@ -179,7 +179,7 @@ bool DateTimeFieldElement::isDisabled() const
Locale& DateTimeFieldElement::localeForOwner() const
{
- return document()->getCachedLocale(localeIdentifier());
+ return document().getCachedLocale(localeIdentifier());
}
AtomicString DateTimeFieldElement::localeIdentifier() const
« no previous file with comments | « Source/core/html/shadow/DateTimeEditElement.cpp ('k') | Source/core/html/shadow/HTMLContentElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698