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

Side by Side Diff: third_party/WebKit/Source/bindings/core/v8/ScriptPromiseResolver.cpp

Issue 1362973004: Rename FROM_HERE to BLINK_FROM_HERE. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update Created 5 years, 2 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/bindings/core/v8/ScriptStreamer.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "config.h" 5 #include "config.h"
6 #include "bindings/core/v8/ScriptPromiseResolver.h" 6 #include "bindings/core/v8/ScriptPromiseResolver.h"
7 7
8 namespace blink { 8 namespace blink {
9 9
10 ScriptPromiseResolver::ScriptPromiseResolver(ScriptState* scriptState) 10 ScriptPromiseResolver::ScriptPromiseResolver(ScriptState* scriptState)
(...skipping 13 matching lines...) Expand all
24 } 24 }
25 25
26 void ScriptPromiseResolver::suspend() 26 void ScriptPromiseResolver::suspend()
27 { 27 {
28 m_timer.stop(); 28 m_timer.stop();
29 } 29 }
30 30
31 void ScriptPromiseResolver::resume() 31 void ScriptPromiseResolver::resume()
32 { 32 {
33 if (m_state == Resolving || m_state == Rejecting) 33 if (m_state == Resolving || m_state == Rejecting)
34 m_timer.startOneShot(0, FROM_HERE); 34 m_timer.startOneShot(0, BLINK_FROM_HERE);
35 } 35 }
36 36
37 void ScriptPromiseResolver::stop() 37 void ScriptPromiseResolver::stop()
38 { 38 {
39 m_timer.stop(); 39 m_timer.stop();
40 clear(); 40 clear();
41 } 41 }
42 42
43 void ScriptPromiseResolver::keepAliveWhilePending() 43 void ScriptPromiseResolver::keepAliveWhilePending()
44 { 44 {
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 m_value.clear(); 89 m_value.clear();
90 m_keepAlive.clear(); 90 m_keepAlive.clear();
91 } 91 }
92 92
93 DEFINE_TRACE(ScriptPromiseResolver) 93 DEFINE_TRACE(ScriptPromiseResolver)
94 { 94 {
95 ActiveDOMObject::trace(visitor); 95 ActiveDOMObject::trace(visitor);
96 } 96 }
97 97
98 } // namespace blink 98 } // namespace blink
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/bindings/core/v8/ScriptStreamer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698