| Index: Source/core/html/canvas/OESStandardDerivatives.cpp
|
| diff --git a/Source/core/html/canvas/OESStandardDerivatives.cpp b/Source/core/html/canvas/OESStandardDerivatives.cpp
|
| index aec473bc686563343ead1c15cca871c3a9794721..16f27b06451d0bdfa22011f27783d423286fdfd0 100644
|
| --- a/Source/core/html/canvas/OESStandardDerivatives.cpp
|
| +++ b/Source/core/html/canvas/OESStandardDerivatives.cpp
|
| @@ -26,7 +26,6 @@
|
| #include "config.h"
|
|
|
| #include "core/html/canvas/OESStandardDerivatives.h"
|
| -#include "platform/graphics/Extensions3D.h"
|
|
|
| namespace WebCore {
|
|
|
| @@ -34,7 +33,7 @@ OESStandardDerivatives::OESStandardDerivatives(WebGLRenderingContext* context)
|
| : WebGLExtension(context)
|
| {
|
| ScriptWrappable::init(this);
|
| - context->graphicsContext3D()->extensions()->ensureEnabled("GL_OES_standard_derivatives");
|
| + context->graphicsContext3D()->ensureExtensionEnabled("GL_OES_standard_derivatives");
|
| }
|
|
|
| OESStandardDerivatives::~OESStandardDerivatives()
|
| @@ -53,8 +52,7 @@ PassRefPtr<OESStandardDerivatives> OESStandardDerivatives::create(WebGLRendering
|
|
|
| bool OESStandardDerivatives::supported(WebGLRenderingContext* context)
|
| {
|
| - Extensions3D* extensions = context->graphicsContext3D()->extensions();
|
| - return extensions->supports("GL_OES_standard_derivatives");
|
| + return context->graphicsContext3D()->supportsExtension("GL_OES_standard_derivatives");
|
| }
|
|
|
| const char* OESStandardDerivatives::extensionName()
|
|
|