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

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

Issue 767443002: Ensure Surface size always matches window size on swap (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
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 25cfbc0c53a82ba2a813371055bfb9697ba82a17..2608ff18211c87b6ab07a17a25e209eabe7ee661 100644
--- a/content/browser/compositor/gpu_process_transport_factory.h
+++ b/content/browser/compositor/gpu_process_transport_factory.h
@@ -56,6 +56,8 @@ class GpuProcessTransportFactory
gpu::GpuMemoryBufferManager* GetGpuMemoryBufferManager() override;
base::MessageLoopProxy* GetCompositorMessageLoop() override;
scoped_ptr<cc::SurfaceIdAllocator> CreateSurfaceIdAllocator() override;
+ void ResizeDisplay(ui::Compositor* compositor,
+ const gfx::Size& size) override;
// ImageTransportFactory implementation.
ui::ContextFactory* GetContextFactory() override;

Powered by Google App Engine
This is Rietveld 408576698