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

Side by Side Diff: third_party/WebKit/Source/bindings/core/v8/ScriptPromisePropertyBase.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 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 "bindings/core/v8/ScriptPromisePropertyBase.h" 5 #include "bindings/core/v8/ScriptPromisePropertyBase.h"
6 6
7 #include <memory>
7 #include "bindings/core/v8/ScopedPersistent.h" 8 #include "bindings/core/v8/ScopedPersistent.h"
8 #include "bindings/core/v8/ScriptState.h" 9 #include "bindings/core/v8/ScriptState.h"
9 #include "bindings/core/v8/V8Binding.h" 10 #include "bindings/core/v8/V8Binding.h"
10 #include "bindings/core/v8/V8HiddenValue.h" 11 #include "bindings/core/v8/V8HiddenValue.h"
11 #include "core/dom/ExecutionContext.h" 12 #include "core/dom/ExecutionContext.h"
12 #include "wtf/PtrUtil.h" 13 #include "wtf/PtrUtil.h"
13 #include <memory>
14 14
15 namespace blink { 15 namespace blink {
16 16
17 ScriptPromisePropertyBase::ScriptPromisePropertyBase( 17 ScriptPromisePropertyBase::ScriptPromisePropertyBase(
18 ExecutionContext* executionContext, 18 ExecutionContext* executionContext,
19 Name name) 19 Name name)
20 : ContextClient(executionContext), 20 : ContextClient(executionContext),
21 m_isolate(toIsolate(executionContext)), 21 m_isolate(toIsolate(executionContext)),
22 m_name(name), 22 m_name(name),
23 m_state(Pending) {} 23 m_state(Pending) {}
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 } 206 }
207 ASSERT_NOT_REACHED(); 207 ASSERT_NOT_REACHED();
208 return v8::Local<v8::String>(); 208 return v8::Local<v8::String>();
209 } 209 }
210 210
211 DEFINE_TRACE(ScriptPromisePropertyBase) { 211 DEFINE_TRACE(ScriptPromisePropertyBase) {
212 ContextClient::trace(visitor); 212 ContextClient::trace(visitor);
213 } 213 }
214 214
215 } // namespace blink 215 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698