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

Side by Side Diff: gpu/ipc/service/image_transport_surface_win.cc

Issue 2482423003: PassThroughImageTransportSurface: Remove unused parameter (Closed)
Patch Set: 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "gpu/ipc/service/image_transport_surface.h" 5 #include "gpu/ipc/service/image_transport_surface.h"
6 6
7 #include <memory> 7 #include <memory>
8 8
9 #include "gpu/ipc/service/child_window_surface_win.h" 9 #include "gpu/ipc/service/child_window_surface_win.h"
10 #include "gpu/ipc/service/pass_through_image_transport_surface.h" 10 #include "gpu/ipc/service/pass_through_image_transport_surface.h"
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 42
43 if (!egl_surface->Initialize(std::move(vsync_provider))) 43 if (!egl_surface->Initialize(std::move(vsync_provider)))
44 return nullptr; 44 return nullptr;
45 } else { 45 } else {
46 surface = gl::init::CreateViewGLSurface(surface_handle); 46 surface = gl::init::CreateViewGLSurface(surface_handle);
47 if (!surface) 47 if (!surface)
48 return nullptr; 48 return nullptr;
49 } 49 }
50 50
51 return scoped_refptr<gl::GLSurface>( 51 return scoped_refptr<gl::GLSurface>(
52 new PassThroughImageTransportSurface(manager, stub, surface.get())); 52 new PassThroughImageTransportSurface(stub, surface.get()));
53 } 53 }
54 54
55 } // namespace gpu 55 } // namespace gpu
OLDNEW
« no previous file with comments | « gpu/ipc/service/image_transport_surface_mac.mm ('k') | gpu/ipc/service/pass_through_image_transport_surface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698