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

Unified Diff: trunk/src/content/browser/compositor/gpu_browser_compositor_output_surface.h

Issue 161743002: Revert 250798 "Revert of Read compositor VSync information from ..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 10 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: trunk/src/content/browser/compositor/gpu_browser_compositor_output_surface.h
===================================================================
--- trunk/src/content/browser/compositor/gpu_browser_compositor_output_surface.h (revision 250808)
+++ trunk/src/content/browser/compositor/gpu_browser_compositor_output_surface.h (working copy)
@@ -7,6 +7,10 @@
#include "content/browser/compositor/browser_compositor_output_surface.h"
+namespace ui {
+class CompositorVSyncManager;
+}
+
namespace content {
// Adapts a WebGraphicsContext3DCommandBufferImpl into a
@@ -19,8 +23,7 @@
const scoped_refptr<ContextProviderCommandBuffer>& context,
int surface_id,
IDMap<BrowserCompositorOutputSurface>* output_surface_map,
- base::MessageLoopProxy* compositor_message_loop,
- base::WeakPtr<ui::Compositor> compositor);
+ const scoped_refptr<ui::CompositorVSyncManager>& vsync_manager);
virtual ~GpuBrowserCompositorOutputSurface();

Powered by Google App Engine
This is Rietveld 408576698