summaryrefslogtreecommitdiffstats
path: root/webkit/gpu
diff options
context:
space:
mode:
authorbacker@chromium.org <backer@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-22 13:52:25 +0000
committerbacker@chromium.org <backer@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-22 13:52:25 +0000
commitaa258822cb53d55894583a5a0e458a6401b4fc4a (patch)
tree6772ac542208209a68c0300c346deeb966bf36bf /webkit/gpu
parentcfa6ea988964c65b9a2f5208dd8c9c3fbe5b78ec (diff)
downloadchromium_src-aa258822cb53d55894583a5a0e458a6401b4fc4a.zip
chromium_src-aa258822cb53d55894583a5a0e458a6401b4fc4a.tar.gz
chromium_src-aa258822cb53d55894583a5a0e458a6401b4fc4a.tar.bz2
Allow GLSurface to indicate that it supports a specific extension.
BUG=None TEST=None Review URL: http://codereview.chromium.org/8566041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111147 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/gpu')
-rw-r--r--webkit/gpu/webgraphicscontext3d_in_process_impl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/webkit/gpu/webgraphicscontext3d_in_process_impl.cc b/webkit/gpu/webgraphicscontext3d_in_process_impl.cc
index a1c8fef..89d7683c 100644
--- a/webkit/gpu/webgraphicscontext3d_in_process_impl.cc
+++ b/webkit/gpu/webgraphicscontext3d_in_process_impl.cc
@@ -335,7 +335,7 @@ void WebGraphicsContext3DInProcessImpl::prepareTexture() {
void WebGraphicsContext3DInProcessImpl::postSubBufferCHROMIUM(
int x, int y, int width, int height) {
- DCHECK(gl_surface_->SupportsPostSubBuffer());
+ DCHECK(gl_context_->HasExtension("GL_CHROMIUM_post_sub_buffer"));
gl_surface_->PostSubBuffer(x, y, width, height);
}