| 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 #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 | |
| OLD | NEW |