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

Side by Side Diff: third_party/WebKit/Source/core/frame/DOMTimerCoordinator.cpp

Issue 2700123003: DO NOT COMMIT: Results of running old (current) clang-format on Blink (Closed)
Patch Set: Created 3 years, 10 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "core/frame/DOMTimerCoordinator.h" 5 #include "core/frame/DOMTimerCoordinator.h"
6 6
7 #include <algorithm>
8 #include <memory>
7 #include "core/dom/ExecutionContext.h" 9 #include "core/dom/ExecutionContext.h"
8 #include "core/frame/DOMTimer.h" 10 #include "core/frame/DOMTimer.h"
9 #include <algorithm>
10 #include <memory>
11 11
12 namespace blink { 12 namespace blink {
13 13
14 DOMTimerCoordinator::DOMTimerCoordinator(RefPtr<WebTaskRunner> timerTaskRunner) 14 DOMTimerCoordinator::DOMTimerCoordinator(RefPtr<WebTaskRunner> timerTaskRunner)
15 : m_circularSequentialID(0), 15 : m_circularSequentialID(0),
16 m_timerNestingLevel(0), 16 m_timerNestingLevel(0),
17 m_timerTaskRunner(std::move(timerTaskRunner)) {} 17 m_timerTaskRunner(std::move(timerTaskRunner)) {}
18 18
19 int DOMTimerCoordinator::installNewTimeout(ExecutionContext* context, 19 int DOMTimerCoordinator::installNewTimeout(ExecutionContext* context,
20 ScheduledAction* action, 20 ScheduledAction* action,
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 return m_circularSequentialID; 64 return m_circularSequentialID;
65 } 65 }
66 } 66 }
67 67
68 void DOMTimerCoordinator::setTimerTaskRunner( 68 void DOMTimerCoordinator::setTimerTaskRunner(
69 RefPtr<WebTaskRunner> timerTaskRunner) { 69 RefPtr<WebTaskRunner> timerTaskRunner) {
70 m_timerTaskRunner = std::move(timerTaskRunner); 70 m_timerTaskRunner = std::move(timerTaskRunner);
71 } 71 }
72 72
73 } // namespace blink 73 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/DOMTimerCoordinator.h ('k') | third_party/WebKit/Source/core/frame/DOMWindow.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698