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

Side by Side Diff: third_party/WebKit/Source/bindings/modules/v8/TransferablesForModules.h

Issue 1862033002: Make OffscreenCanvas Transferable (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address haraken's comments, need bots to test Created 4 years, 8 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 #ifndef TransferablesForModules_h
6 #define TransferablesForModules_h
7
8 #include "bindings/core/v8/Transferables.h"
9 #include "modules/ModulesExport.h"
10 #include "modules/offscreencanvas/OffscreenCanvas.h"
11
12 namespace blink {
13
14 using OffscreenCanvasArray = HeapVector<Member<OffscreenCanvas>>;
15
16 class MODULES_EXPORT TransferablesForModules : public Transferables {
17 public:
18 TransferablesForModules() { }
19
20 OffscreenCanvasArray offscreenCanvases;
21
22 DEFINE_INLINE_TRACE()
23 {
24 visitor->trace(offscreenCanvases);
25 Transferables::trace(visitor);
26 }
27 };
28
29 } // namespace blink
30
31 #endif // TransferablesForModules_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698