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

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

Issue 2488413003: Mus: ImageTransportSurface should not depend on GpuChannelManager (Closed)
Patch Set: Fix windows compile issue Created 4 years, 1 month 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
« no previous file with comments | « gpu/ipc/service/image_transport_surface_mac.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/ipc/service/image_transport_surface_win.cc
diff --git a/gpu/ipc/service/image_transport_surface_win.cc b/gpu/ipc/service/image_transport_surface_win.cc
index fb27db6985fe654cd7dbabdb571ea3a96072b45f..8ba97f66a3bd4e079dbc9a0e958525872f355e1d 100644
--- a/gpu/ipc/service/image_transport_surface_win.cc
+++ b/gpu/ipc/service/image_transport_surface_win.cc
@@ -19,7 +19,6 @@ namespace gpu {
// static
scoped_refptr<gl::GLSurface> ImageTransportSurface::CreateNativeSurface(
- GpuChannelManager* manager,
base::WeakPtr<ImageTransportSurfaceDelegate> delegate,
SurfaceHandle surface_handle,
gl::GLSurface::Format format) {
@@ -29,7 +28,7 @@ scoped_refptr<gl::GLSurface> ImageTransportSurface::CreateNativeSurface(
if (gl::GetGLImplementation() == gl::kGLImplementationEGLGLES2 &&
gl::GLSurfaceEGL::IsDirectCompositionSupported()) {
scoped_refptr<ChildWindowSurfaceWin> egl_surface(
- new ChildWindowSurfaceWin(manager, surface_handle));
+ new ChildWindowSurfaceWin(delegate, surface_handle));
surface = egl_surface;
// TODO(stanisc): http://crbug.com/659844:
« no previous file with comments | « gpu/ipc/service/image_transport_surface_mac.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698