OLD | NEW |
---|---|
(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/V8MediaSession.h" | |
6 | |
7 #include "bindings/core/v8/V8DOMWrapper.h" | |
8 #include "modules/mediasession/MediaSession.h" | |
9 | |
10 namespace blink { | |
11 | |
12 void V8MediaSession::visitDOMWrapperCustom( | |
13 v8::Isolate* isolate, | |
14 ScriptWrappable* scriptWrappable, | |
15 const v8::Persistent<v8::Object>& wrapper) { | |
16 MediaSession* mediaSession = scriptWrappable->toImpl<MediaSession>(); | |
17 mediaSession->setV8ReferencesForCallbacks(isolate, wrapper); | |
mlamouri (slow - plz ping)
2016/12/20 13:25:57
nit: you can probably do this in one line.
Zhiqiang Zhang (Slow)
2016/12/20 13:53:06
Done.
| |
18 } | |
19 | |
20 } // namespace blink | |
OLD | NEW |