Index: content/renderer/gpu/webgraphicscontext3d_command_buffer_impl.cc |
diff --git a/content/renderer/gpu/webgraphicscontext3d_command_buffer_impl.cc b/content/renderer/gpu/webgraphicscontext3d_command_buffer_impl.cc |
index 4200c4f0bff20f3955858344a1ea8c8e7e26049a..4f1833be7a83ba8a9a25e1fa12845ed1e67a4bf8 100644 |
--- a/content/renderer/gpu/webgraphicscontext3d_command_buffer_impl.cc |
+++ b/content/renderer/gpu/webgraphicscontext3d_command_buffer_impl.cc |
@@ -302,11 +302,6 @@ void WebGraphicsContext3DCommandBufferImpl::reshape(int width, int height) { |
#endif // FLIP_FRAMEBUFFER_VERTICALLY |
} |
-void WebGraphicsContext3DCommandBufferImpl::setVisibility(bool visible) { |
- gl_->Flush(); |
- context_->SetSurfaceVisible(visible); |
-} |
- |
#ifdef FLIP_FRAMEBUFFER_VERTICALLY |
void WebGraphicsContext3DCommandBufferImpl::FlipVertically( |
uint8* framebuffer, |
@@ -420,6 +415,12 @@ void WebGraphicsContext3DCommandBufferImpl::unmapTexSubImage2DCHROMIUM( |
gl_->UnmapTexSubImage2DCHROMIUM(mem); |
} |
+void WebGraphicsContext3DCommandBufferImpl::setVisibilityCHROMIUM( |
+ bool visible) { |
+ gl_->Flush(); |
+ context_->SetSurfaceVisible(visible); |
+} |
+ |
void WebGraphicsContext3DCommandBufferImpl::copyTextureToParentTextureCHROMIUM( |
WebGLId texture, WebGLId parentTexture) { |
NOTIMPLEMENTED(); |