| Index: third_party/WebKit/Source/modules/webgl/WebGL2RenderingContext.cpp
|
| diff --git a/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContext.cpp b/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContext.cpp
|
| index 4f009b15d0f064b50cf3734438140860418b21f4..05bc1bd7b3e9c6b6f53e222a6a0be0fd09586636 100644
|
| --- a/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContext.cpp
|
| +++ b/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContext.cpp
|
| @@ -4,6 +4,7 @@
|
|
|
| #include "modules/webgl/WebGL2RenderingContext.h"
|
|
|
| +#include "bindings/modules/v8/UnionTypesModules.h"
|
| #include "core/frame/LocalFrame.h"
|
| #include "core/frame/Settings.h"
|
| #include "core/loader/FrameLoader.h"
|
| @@ -75,6 +76,11 @@ WebGL2RenderingContext::~WebGL2RenderingContext()
|
|
|
| }
|
|
|
| +void WebGL2RenderingContext::setCanvasGetContextResult(RenderingContext& result)
|
| +{
|
| + result.setWebGL2RenderingContext(PassRefPtrWillBeRawPtr<WebGL2RenderingContext>(this));
|
| +}
|
| +
|
| void WebGL2RenderingContext::registerContextExtensions()
|
| {
|
| // Register extensions.
|
|
|