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

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

Issue 2856173004: Clean up bindings/core/v8 (Part 5) (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 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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698