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

Side by Side Diff: third_party/WebKit/Source/bindings/modules/v8/custom/V8RemotePlaybackCustom.cpp

Issue 2415723002: [Blink, RemotePlayback] watchAvailability() implementation. (Closed)
Patch Set: Added layout test for callback gc Created 4 years, 2 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "bindings/modules/v8/V8RemotePlayback.h"
6
7 #include "bindings/core/v8/V8DOMWrapper.h"
8 #include "modules/remoteplayback/RemotePlayback.h"
9
10 namespace blink {
11
12 void V8RemotePlayback::visitDOMWrapperCustom(
13 v8::Isolate* isolate,
14 ScriptWrappable* scriptWrappable,
15 const v8::Persistent<v8::Object>& wrapper) {
16 RemotePlayback* remotePlayback = scriptWrappable->toImpl<RemotePlayback>();
17 remotePlayback->setV8ReferencesForCallbacks(isolate, wrapper);
18 }
19
20 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698