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

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

Issue 2511273002: Decouple BrowserCompositorOutputSurface from BeginFrameSource. (Closed)
Patch Set: Another attempt to fix the crash Created 4 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/browser_compositor_output_surface.h
diff --git a/content/browser/compositor/browser_compositor_output_surface.h b/content/browser/compositor/browser_compositor_output_surface.h
index e049e4d1bb5ffdc57dd60b7985f4e87c97493628..1117aac1b0f940f46268aeada1ff6fab3b9a780c 100644
--- a/content/browser/compositor/browser_compositor_output_surface.h
+++ b/content/browser/compositor/browser_compositor_output_surface.h
@@ -14,7 +14,6 @@
namespace cc {
class SoftwareOutputDevice;
-class SyntheticBeginFrameSource;
}
namespace display_compositor {
@@ -55,24 +54,20 @@ class CONTENT_EXPORT BrowserCompositorOutputSurface
BrowserCompositorOutputSurface(
scoped_refptr<cc::ContextProvider> context,
scoped_refptr<ui::CompositorVSyncManager> vsync_manager,
- cc::SyntheticBeginFrameSource* begin_frame_source,
std::unique_ptr<display_compositor::CompositorOverlayCandidateValidator>
overlay_candidate_validator);
// Constructor used by the software implementation.
BrowserCompositorOutputSurface(
std::unique_ptr<cc::SoftwareOutputDevice> software_device,
- const scoped_refptr<ui::CompositorVSyncManager>& vsync_manager,
- cc::SyntheticBeginFrameSource* begin_frame_source);
+ const scoped_refptr<ui::CompositorVSyncManager>& vsync_manager);
// Constructor used by the Vulkan implementation.
BrowserCompositorOutputSurface(
const scoped_refptr<cc::VulkanContextProvider>& vulkan_context_provider,
- const scoped_refptr<ui::CompositorVSyncManager>& vsync_manager,
- cc::SyntheticBeginFrameSource* begin_frame_source);
+ const scoped_refptr<ui::CompositorVSyncManager>& vsync_manager);
scoped_refptr<ui::CompositorVSyncManager> vsync_manager_;
- cc::SyntheticBeginFrameSource* synthetic_begin_frame_source_;
ReflectorImpl* reflector_;
private:

Powered by Google App Engine
This is Rietveld 408576698