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

Unified Diff: content/browser/compositor/gpu_process_transport_factory.cc

Issue 1962493002: Make Mac swap code like other platforms (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Incorporate review feedback Created 4 years, 7 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/browser/compositor/gpu_process_transport_factory.cc
diff --git a/content/browser/compositor/gpu_process_transport_factory.cc b/content/browser/compositor/gpu_process_transport_factory.cc
index db1591fe5a2a4dfaf00cff55183b94639a5e5e11..c3b47fb190b7425e3cf24882c13b473125ab6b82 100644
--- a/content/browser/compositor/gpu_process_transport_factory.cc
+++ b/content/browser/compositor/gpu_process_transport_factory.cc
@@ -654,16 +654,6 @@ void GpuProcessTransportFactory::RemoveObserver(
}
#if defined(OS_MACOSX)
-void GpuProcessTransportFactory::OnGpuSwapBuffersCompleted(
- gpu::SurfaceHandle surface_handle,
- const std::vector<ui::LatencyInfo>& latency_info,
- gfx::SwapResult result) {
- BrowserCompositorOutputSurface* surface = output_surface_map_.Lookup(
- surface_handle);
- if (surface)
- surface->OnGpuSwapBuffersCompleted(latency_info, result);
-}
-
void GpuProcessTransportFactory::SetCompositorSuspendedForRecycle(
ui::Compositor* compositor,
bool suspended) {

Powered by Google App Engine
This is Rietveld 408576698