Chromium Code Reviews| Index: content/common/gpu/gpu_channel_manager.cc |
| diff --git a/content/common/gpu/gpu_channel_manager.cc b/content/common/gpu/gpu_channel_manager.cc |
| index 7bbfea1de7d38ed0cdf50d55ef01dfd37829edbc..3e056e5e7cb7b5fc436dba37c509e2207fe1cc34 100644 |
| --- a/content/common/gpu/gpu_channel_manager.cc |
| +++ b/content/common/gpu/gpu_channel_manager.cc |
| @@ -297,7 +297,7 @@ void GpuChannelManager::OnLoseAllContexts() { |
| gfx::GLSurface* GpuChannelManager::GetDefaultOffscreenSurface() { |
| if (!default_offscreen_surface_.get()) { |
| default_offscreen_surface_ = |
| - gfx::GLSurface::CreateOffscreenGLSurface(gfx::Size(1, 1)); |
| + gfx::GLSurface::CreateOffscreenGLSurface(gfx::Size()); |
|
Ken Russell (switch to Gerrit)
2014/05/27 18:46:59
Does this change work correctly on Mac OS? It look
|
| } |
| return default_offscreen_surface_.get(); |
| } |