| 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..56e28c62c9d2623577c82b9d042ccaf8003de00a 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(PassRefPtrWillBeRawPtr<WebGLRenderingContext>(this));
|
| +}
|
| +
|
| void WebGLRenderingContext::registerContextExtensions()
|
| {
|
| // Register extensions.
|
|
|