Chromium Code Reviews| Index: third_party/WebKit/Source/modules/webgl/WebGLRenderingContext.cpp |
| diff --git a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContext.cpp b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContext.cpp |
| index b657410a4ce227d90b4000013c40bdb0a9479463..a2c13984949a38d3f8bc85050148cd38c8c4f8dc 100644 |
| --- a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContext.cpp |
| +++ b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContext.cpp |
| @@ -25,6 +25,7 @@ |
| #include "modules/webgl/WebGLRenderingContext.h" |
| +#include "bindings/modules/v8/UnionTypesModules.h" |
| #include "core/frame/LocalFrame.h" |
| #include "core/frame/Settings.h" |
| #include "core/layout/LayoutBox.h" |
| @@ -104,6 +105,11 @@ WebGLRenderingContext::~WebGLRenderingContext() |
| { |
| } |
| +void WebGLRenderingContext::setCanvasGetContextResult(RenderingContext& result) |
| +{ |
| + result.setWebGLRenderingContext(RefPtrWillBeRawPtr<WebGLRenderingContext>(this)); |
|
sof
2016/03/09 22:05:26
PassRefPtr<>
|
| +} |
| + |
| void WebGLRenderingContext::registerContextExtensions() |
| { |
| // Register extensions. |