Index: third_party/WebKit/Source/core/html/shadow/SpinButtonElement.cpp |
diff --git a/third_party/WebKit/Source/core/html/shadow/SpinButtonElement.cpp b/third_party/WebKit/Source/core/html/shadow/SpinButtonElement.cpp |
index d316b1827ed0ec03cd2a2cfb38ea34384e198ef4..718adbad396bb5545526bf1ea172949d251d8df2 100644 |
--- a/third_party/WebKit/Source/core/html/shadow/SpinButtonElement.cpp |
+++ b/third_party/WebKit/Source/core/html/shadow/SpinButtonElement.cpp |
@@ -216,8 +216,8 @@ bool SpinButtonElement::matchesReadWritePseudoClass() const |
void SpinButtonElement::startRepeatingTimer() |
{ |
m_pressStartingState = m_upDownState; |
- ScrollbarTheme* theme = ScrollbarTheme::theme(); |
- m_repeatingTimer.start(theme->initialAutoscrollTimerDelay(), theme->autoscrollTimerDelay(), BLINK_FROM_HERE); |
+ ScrollbarTheme& theme = ScrollbarTheme::theme(); |
+ m_repeatingTimer.start(theme.initialAutoscrollTimerDelay(), theme.autoscrollTimerDelay(), BLINK_FROM_HERE); |
} |
void SpinButtonElement::stopRepeatingTimer() |