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

Unified Diff: cc/surfaces/compositor_frame_sink_support.h

Issue 2795683003: [cc]Replace use of SurfaceFactory with CompositorFrameSinkSupport in tests (Closed)
Patch Set: Address comments Created 3 years, 8 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
« no previous file with comments | « no previous file | cc/surfaces/display_unittest.cc » ('j') | cc/surfaces/surface_hittest_unittest.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/surfaces/compositor_frame_sink_support.h
diff --git a/cc/surfaces/compositor_frame_sink_support.h b/cc/surfaces/compositor_frame_sink_support.h
index bdafb4933e6c0f752edc1fde38a9d63fd003d6b5..99d0f0b305abc24d2c4310835a181a94fea31bdd 100644
--- a/cc/surfaces/compositor_frame_sink_support.h
+++ b/cc/surfaces/compositor_frame_sink_support.h
@@ -56,6 +56,8 @@ class CC_SURFACES_EXPORT CompositorFrameSinkSupport
void ForceReclaimResources();
void ClaimTemporaryReference(const SurfaceId& surface_id);
+ BeginFrameSource* begin_frame_source() { return begin_frame_source_; }
Fady Samuel 2017/04/04 22:48:16 BeginFrameSourceForTesting() const
Alex Z. 2017/04/05 14:38:55 Done.
+
private:
// Update surface references with SurfaceManager for current CompositorFrame
// that has |local_surface_id|. UpdateReferences() must be called on
« no previous file with comments | « no previous file | cc/surfaces/display_unittest.cc » ('j') | cc/surfaces/surface_hittest_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698