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

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

Issue 2848963002: Clean up bindings/core/v8 (Part 1) (Closed)
Patch Set: Fix build Created 3 years, 7 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 <memory>
8 #include "bindings/core/v8/ScopedPersistent.h"
9 #include "bindings/core/v8/ScriptState.h" 8 #include "bindings/core/v8/ScriptState.h"
10 #include "bindings/core/v8/V8BindingForCore.h" 9 #include "bindings/core/v8/V8BindingForCore.h"
11 #include "core/dom/ExecutionContext.h" 10 #include "core/dom/ExecutionContext.h"
11 #include "platform/bindings/ScopedPersistent.h"
12 #include "platform/wtf/PtrUtil.h" 12 #include "platform/wtf/PtrUtil.h"
13 13
14 namespace blink { 14 namespace blink {
15 15
16 ScriptPromisePropertyBase::ScriptPromisePropertyBase( 16 ScriptPromisePropertyBase::ScriptPromisePropertyBase(
17 ExecutionContext* execution_context, 17 ExecutionContext* execution_context,
18 Name name) 18 Name name)
19 : ContextClient(execution_context), 19 : ContextClient(execution_context),
20 isolate_(ToIsolate(execution_context)), 20 isolate_(ToIsolate(execution_context)),
21 name_(name), 21 name_(name),
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 } 207 }
208 NOTREACHED(); 208 NOTREACHED();
209 return V8PrivateProperty::GetSymbol(isolate_, "noResolver"); 209 return V8PrivateProperty::GetSymbol(isolate_, "noResolver");
210 } 210 }
211 211
212 DEFINE_TRACE(ScriptPromisePropertyBase) { 212 DEFINE_TRACE(ScriptPromisePropertyBase) {
213 ContextClient::Trace(visitor); 213 ContextClient::Trace(visitor);
214 } 214 }
215 215
216 } // namespace blink 216 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698