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..b122cc4537cdd7ed831f1cffec44c94bb22f477c 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(RefPtrWillBeRawPtr<WebGL2RenderingContext>(this)); |
sof
2016/03/09 22:05:26
PassRefPtr<>
|
+} |
+ |
void WebGL2RenderingContext::registerContextExtensions() |
{ |
// Register extensions. |