| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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/V8IntersectionObserverCallback.h" | 5 #include "bindings/core/v8/V8IntersectionObserverCallback.h" |
| 6 | 6 |
| 7 #include "bindings/core/v8/ScriptController.h" | 7 #include "bindings/core/v8/ScriptController.h" |
| 8 #include "bindings/core/v8/V8BindingForCore.h" | 8 #include "bindings/core/v8/V8BindingForCore.h" |
| 9 #include "bindings/core/v8/V8IntersectionObserver.h" | 9 #include "bindings/core/v8/V8IntersectionObserver.h" |
| 10 #include "bindings/core/v8/V8PrivateProperty.h" | |
| 11 #include "core/dom/ExecutionContext.h" | 10 #include "core/dom/ExecutionContext.h" |
| 11 #include "platform/bindings/V8PrivateProperty.h" |
| 12 #include "platform/wtf/Assertions.h" | 12 #include "platform/wtf/Assertions.h" |
| 13 | 13 |
| 14 namespace blink { | 14 namespace blink { |
| 15 | 15 |
| 16 V8IntersectionObserverCallback::V8IntersectionObserverCallback( | 16 V8IntersectionObserverCallback::V8IntersectionObserverCallback( |
| 17 v8::Local<v8::Function> callback, | 17 v8::Local<v8::Function> callback, |
| 18 v8::Local<v8::Object> owner, | 18 v8::Local<v8::Object> owner, |
| 19 ScriptState* script_state) | 19 ScriptState* script_state) |
| 20 : callback_(script_state->GetIsolate(), callback), | 20 : callback_(script_state->GetIsolate(), callback), |
| 21 script_state_(script_state) { | 21 script_state_(script_state) { |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 ExecutionContext::From(script_state_.Get()), | 62 ExecutionContext::From(script_state_.Get()), |
| 63 this_object, 2, argv, | 63 this_object, 2, argv, |
| 64 script_state_->GetIsolate()); | 64 script_state_->GetIsolate()); |
| 65 } | 65 } |
| 66 | 66 |
| 67 DEFINE_TRACE(V8IntersectionObserverCallback) { | 67 DEFINE_TRACE(V8IntersectionObserverCallback) { |
| 68 IntersectionObserverCallback::Trace(visitor); | 68 IntersectionObserverCallback::Trace(visitor); |
| 69 } | 69 } |
| 70 | 70 |
| 71 } // namespace blink | 71 } // namespace blink |
| OLD | NEW |