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

Unified Diff: Source/core/html/shadow/PickerIndicatorElement.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
Index: Source/core/html/shadow/PickerIndicatorElement.cpp
diff --git a/Source/core/html/shadow/PickerIndicatorElement.cpp b/Source/core/html/shadow/PickerIndicatorElement.cpp
index 6fbb1cfd7448da1405b7dc9bfff28edda9d8a31e..6f10ad33380f1332a529857df58e49b4f49fa066 100644
--- a/Source/core/html/shadow/PickerIndicatorElement.cpp
+++ b/Source/core/html/shadow/PickerIndicatorElement.cpp
@@ -109,14 +109,14 @@ void PickerIndicatorElement::openPopup()
{
if (m_chooser)
return;
- if (!document()->page())
+ if (!document().page())
return;
if (!m_pickerIndicatorOwner)
return;
DateTimeChooserParameters parameters;
if (!m_pickerIndicatorOwner->setupDateTimeChooserParameters(parameters))
return;
- m_chooser = document()->page()->chrome().openDateTimeChooser(this, parameters);
+ m_chooser = document().page()->chrome().openDateTimeChooser(this, parameters);
}
void PickerIndicatorElement::closePopup()
« no previous file with comments | « Source/core/html/shadow/PasswordGeneratorButtonElement.cpp ('k') | Source/core/html/shadow/SliderThumbElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698