| Index: Source/core/html/canvas/OESTextureHalfFloatLinear.cpp | 
| diff --git a/Source/core/html/canvas/WebGLDepthTexture.cpp b/Source/core/html/canvas/OESTextureHalfFloatLinear.cpp | 
| similarity index 68% | 
| copy from Source/core/html/canvas/WebGLDepthTexture.cpp | 
| copy to Source/core/html/canvas/OESTextureHalfFloatLinear.cpp | 
| index a15e91a7b4ebb915d4c259b83ed0ad178d37fb36..4b222ec419f23ab549d4fe248d13f64c0fed101c 100644 | 
| --- a/Source/core/html/canvas/WebGLDepthTexture.cpp | 
| +++ b/Source/core/html/canvas/OESTextureHalfFloatLinear.cpp | 
| @@ -25,43 +25,41 @@ | 
|  | 
| #include "config.h" | 
|  | 
| -#include "core/html/canvas/WebGLDepthTexture.h" | 
| +#include "core/html/canvas/OESTextureHalfFloatLinear.h" | 
|  | 
| #include "core/platform/graphics/Extensions3D.h" | 
|  | 
| namespace WebCore { | 
|  | 
| -WebGLDepthTexture::WebGLDepthTexture(WebGLRenderingContext* context) | 
| +OESTextureHalfFloatLinear::OESTextureHalfFloatLinear(WebGLRenderingContext* context) | 
| : WebGLExtension(context) | 
| { | 
| -    context->graphicsContext3D()->getExtensions()->ensureEnabled("GL_CHROMIUM_depth_texture"); | 
| +    context->graphicsContext3D()->getExtensions()->ensureEnabled("GL_OES_texture_half_float_linear"); | 
| } | 
|  | 
| -WebGLDepthTexture::~WebGLDepthTexture() | 
| +OESTextureHalfFloatLinear::~OESTextureHalfFloatLinear() | 
| { | 
| } | 
|  | 
| -WebGLExtension::ExtensionName WebGLDepthTexture::getName() const | 
| +WebGLExtension::ExtensionName OESTextureHalfFloatLinear::getName() const | 
| { | 
| -    return WebGLDepthTextureName; | 
| +    return OESTextureHalfFloatLinearName; | 
| } | 
|  | 
| -PassOwnPtr<WebGLDepthTexture> WebGLDepthTexture::create(WebGLRenderingContext* context) | 
| +PassOwnPtr<OESTextureHalfFloatLinear> OESTextureHalfFloatLinear::create(WebGLRenderingContext* context) | 
| { | 
| -    return adoptPtr(new WebGLDepthTexture(context)); | 
| +    return adoptPtr(new OESTextureHalfFloatLinear(context)); | 
| } | 
|  | 
| -bool WebGLDepthTexture::supported(WebGLRenderingContext* context) | 
| +bool OESTextureHalfFloatLinear::supported(WebGLRenderingContext* context) | 
| { | 
| Extensions3D* extensions = context->graphicsContext3D()->getExtensions(); | 
| -    return extensions->supports("GL_CHROMIUM_depth_texture") | 
| -        || extensions->supports("GL_OES_depth_texture") | 
| -        || extensions->supports("GL_ARB_depth_texture"); | 
| +    return extensions->supports("GL_OES_texture_half_float_linear"); | 
| } | 
|  | 
| -const char* WebGLDepthTexture::getExtensionName() | 
| +const char* OESTextureHalfFloatLinear::getExtensionName() | 
| { | 
| -    return "WEBGL_depth_texture"; | 
| +    return "OES_texture_half_float_linear"; | 
| } | 
|  | 
| } // namespace WebCore | 
|  |