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

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

Issue 1963263002: Fix Mac resize, delete more Mac code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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.h
diff --git a/content/browser/compositor/gpu_process_transport_factory.h b/content/browser/compositor/gpu_process_transport_factory.h
index 64225e25fc4a48bddaa096227754ea7614634e58..6f60920bb43f5e0412f34fec4e4cf3c6acfb3470 100644
--- a/content/browser/compositor/gpu_process_transport_factory.h
+++ b/content/browser/compositor/gpu_process_transport_factory.h
@@ -76,8 +76,6 @@ class GpuProcessTransportFactory
#if defined(OS_MACOSX)
void SetCompositorSuspendedForRecycle(ui::Compositor* compositor,
bool suspended) override;
- bool SurfaceShouldNotShowFramesAfterSuspendForRecycle(
- gpu::SurfaceHandle surface_handle) const override;
#endif
private:
@@ -113,15 +111,6 @@ class GpuProcessTransportFactory
#if defined(OS_WIN)
std::unique_ptr<OutputDeviceBacking> software_backing_;
#endif
-
-#if defined(OS_MACOSX)
- // The contents of this map and its methods may only be used on the compositor
- // thread. This is used on Mac to lookup the output surface based on the
- // surface_handle, in response to the
- // GpuHostMsg_AcceleratedSurfaceBuffersSwapped message.
- IDMap<BrowserCompositorOutputSurface> output_surface_map_;
-#endif
-
base::WeakPtrFactory<GpuProcessTransportFactory> callback_factory_;
DISALLOW_COPY_AND_ASSIGN(GpuProcessTransportFactory);

Powered by Google App Engine
This is Rietveld 408576698