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

Unified Diff: third_party/WebKit/Source/core/frame/DOMTimer.cpp

Issue 2622043003: Replaced RefPtr::release with std::move in Source/core. (Closed)
Patch Set: Created 3 years, 11 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: third_party/WebKit/Source/core/frame/DOMTimer.cpp
diff --git a/third_party/WebKit/Source/core/frame/DOMTimer.cpp b/third_party/WebKit/Source/core/frame/DOMTimer.cpp
index 2b2e2c63ba0f7dbd2931c5bdcaaf30c7d8f935e8..8d74d6136bfdadad1c58aa8c1522a9772a44f6e9 100644
--- a/third_party/WebKit/Source/core/frame/DOMTimer.cpp
+++ b/third_party/WebKit/Source/core/frame/DOMTimer.cpp
@@ -138,7 +138,7 @@ void DOMTimer::fired() {
DCHECK(!context->isContextSuspended());
// Only the first execution of a multi-shot timer should get an affirmative
// user gesture indicator.
- UserGestureIndicator gestureIndicator(m_userGestureToken.release());
+ UserGestureIndicator gestureIndicator(std::move(m_userGestureToken));
TRACE_EVENT1("devtools.timeline", "TimerFire", "data",
InspectorTimerFireEvent::data(context, m_timeoutID));

Powered by Google App Engine
This is Rietveld 408576698