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

Unified Diff: content/common/gpu/image_transport_surface_mac.cc

Issue 256713002: Remove 'transport' paths from PassThroughImageTransportSurface (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Also remove ResizeView/ResizeViewAck Created 6 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: content/common/gpu/image_transport_surface_mac.cc
diff --git a/content/common/gpu/image_transport_surface_mac.cc b/content/common/gpu/image_transport_surface_mac.cc
index 254d747b6d1bdaa98ce2d199de0ed997b5f43c9c..dbd2182ee120332f6f1750c59e8e6ab17bade4ef 100644
--- a/content/common/gpu/image_transport_surface_mac.cc
+++ b/content/common/gpu/image_transport_surface_mac.cc
@@ -61,7 +61,6 @@ class IOSurfaceImageTransportSurface
// ImageTransportSurface implementation
virtual void OnBufferPresented(
const AcceleratedSurfaceMsg_BufferPresented_Params& params) OVERRIDE;
- virtual void OnResizeViewACK() OVERRIDE;
virtual void OnResize(gfx::Size size, float scale_factor) OVERRIDE;
virtual void SetLatencyInfo(
const std::vector<ui::LatencyInfo>&) OVERRIDE;
@@ -301,10 +300,6 @@ void IOSurfaceImageTransportSurface::OnBufferPresented(
}
}
-void IOSurfaceImageTransportSurface::OnResizeViewACK() {
- NOTREACHED();
-}
-
void IOSurfaceImageTransportSurface::OnResize(gfx::Size size,
float scale_factor) {
// This trace event is used in gpu_feature_browsertest.cc - the test will need
@@ -545,7 +540,7 @@ scoped_refptr<gfx::GLSurface> ImageTransportSurface::CreateNativeSurface(
if (!surface.get() || !surface->Initialize())
return surface;
return scoped_refptr<gfx::GLSurface>(new PassThroughImageTransportSurface(
- manager, stub, surface.get(), false));
+ manager, stub, surface.get()));
}
}
« no previous file with comments | « content/common/gpu/image_transport_surface_linux.cc ('k') | content/common/gpu/image_transport_surface_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698