Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(434)

Unified Diff: gpu/ipc/service/image_transport_surface_android.cc

Issue 2801163002: Deletes NativeViewGLSurfaceEGL::Initialize(gfx::VSyncProvider). (Closed)
Patch Set: fixes DirectCompositionSurfaceTest Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: gpu/ipc/service/image_transport_surface_android.cc
diff --git a/gpu/ipc/service/image_transport_surface_android.cc b/gpu/ipc/service/image_transport_surface_android.cc
index a80e364ec726a58297348c742ad2d59c8fd2d5c9..7c0e9334fee26113d15d7e4cb1927fb9653079e8 100644
--- a/gpu/ipc/service/image_transport_surface_android.cc
+++ b/gpu/ipc/service/image_transport_surface_android.cc
@@ -30,7 +30,8 @@ scoped_refptr<gl::GLSurface> ImageTransportSurface::CreateNativeSurface(
LOG(WARNING) << "Failed to acquire native widget.";
return nullptr;
}
- scoped_refptr<gl::GLSurface> surface = new gl::NativeViewGLSurfaceEGL(window);
+ scoped_refptr<gl::GLSurface> surface =
+ new gl::NativeViewGLSurfaceEGL(window, nullptr);
bool initialize_success = surface->Initialize(format);
ANativeWindow_release(window);
if (!initialize_success)
« no previous file with comments | « gpu/ipc/service/direct_composition_surface_win_unittest.cc ('k') | gpu/ipc/service/image_transport_surface_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698