Chromium Code Reviews| Index: third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp |
| diff --git a/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp b/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp |
| index cd4dd7e280236c52b58056391037dd19bf3fe0f7..600fe764bae694cdfe762b9334ed342530665663 100644 |
| --- a/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp |
| +++ b/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp |
| @@ -24,6 +24,7 @@ |
| #include "modules/webgl/WebGLUniformLocation.h" |
| #include "modules/webgl/WebGLVertexArrayObject.h" |
| #include "platform/NotImplemented.h" |
| +#include "platform/graphics/CanvasMetrics.h" |
| #include "wtf/OwnPtr.h" |
| #include "wtf/PassOwnPtr.h" |
| @@ -110,6 +111,7 @@ WebGL2RenderingContextBase::WebGL2RenderingContextBase(HTMLCanvasElement* passed |
| : WebGLRenderingContextBase(passedCanvas, context, requestedAttributes) |
| { |
| m_supportedInternalFormatsStorage.insert(kSupportedInternalFormatsStorage, kSupportedInternalFormatsStorage + arraysize(kSupportedInternalFormatsStorage)); |
| + CanvasMetrics::countCanvasContextStat(CanvasMetrics::CanvasContextCreated); |
|
Justin Novosad
2015/11/20 03:30:44
Can we make this one more specific: WebGLContextCr
zmin
2015/11/20 17:08:33
Removed.
|
| } |
| WebGL2RenderingContextBase::~WebGL2RenderingContextBase() |