| Index: content/common/gpu/image_transport_surface_win.cc
|
| ===================================================================
|
| --- content/common/gpu/image_transport_surface_win.cc (revision 114452)
|
| +++ content/common/gpu/image_transport_surface_win.cc (working copy)
|
| @@ -194,7 +194,8 @@
|
| base::win::OSInfo* os_info = base::win::OSInfo::GetInstance();
|
|
|
| if (gfx::GetGLImplementation() == gfx::kGLImplementationEGLGLES2 &&
|
| - os_info->version() >= base::win::VERSION_VISTA &&
|
| + gfx::g_EGL_ANGLE_query_surface_pointer &&
|
| + gfx::g_EGL_ANGLE_d3d_share_handle_client_buffer &&
|
| !CommandLine::ForCurrentProcess()->HasSwitch(
|
| switches::kDisableImageTransportSurface)) {
|
| surface = new PbufferImageTransportSurface(manager,
|
|
|