| Index: third_party/WebKit/Source/bindings/modules/v8/custom/V8WebGL2RenderingContextCustom.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/modules/v8/custom/V8WebGL2RenderingContextCustom.cpp b/third_party/WebKit/Source/bindings/modules/v8/custom/V8WebGL2RenderingContextCustom.cpp
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..773f9f3a3d8be9086626a80df7682596d8bc7229
|
| --- /dev/null
|
| +++ b/third_party/WebKit/Source/bindings/modules/v8/custom/V8WebGL2RenderingContextCustom.cpp
|
| @@ -0,0 +1,19 @@
|
| +// Copyright 2016 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "bindings/modules/v8/V8WebGL2RenderingContext.h"
|
| +
|
| +#include "modules/webgl/WebGL2RenderingContextBase.h"
|
| +
|
| +using namespace WTF;
|
| +
|
| +namespace blink {
|
| +
|
| +void V8WebGL2RenderingContext::visitDOMWrapperCustom(v8::Isolate* isolate, ScriptWrappable* scriptWrappable, const v8::Persistent<v8::Object>& wrapper)
|
| +{
|
| + WebGL2RenderingContext* impl = scriptWrappable->toImpl<WebGL2RenderingContext>();
|
| + impl->visitChildDOMWrappers(isolate, wrapper);
|
| +}
|
| +
|
| +} // namespace blink
|
|
|