OLD | NEW |
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 Loading... |
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 |
OLD | NEW |