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

Unified Diff: cc/surfaces/surface_factory.cc

Issue 2824053003: Split SurfaceFactoryClient Into Four Interfaces (Closed)
Patch Set: Address Nits 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 | « cc/surfaces/surface_factory.h ('k') | cc/surfaces/surface_factory_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/surfaces/surface_factory.cc
diff --git a/cc/surfaces/surface_factory.cc b/cc/surfaces/surface_factory.cc
index 1a38e516d5055af7e068e805b230b19cff4b9216..76167c9f32716d9412c7b8104e672d6919484ff8 100644
--- a/cc/surfaces/surface_factory.cc
+++ b/cc/surfaces/surface_factory.cc
@@ -17,13 +17,15 @@
#include "ui/gfx/geometry/size.h"
namespace cc {
-SurfaceFactory::SurfaceFactory(const FrameSinkId& frame_sink_id,
- SurfaceManager* manager,
- SurfaceFactoryClient* client)
+SurfaceFactory::SurfaceFactory(
+ const FrameSinkId& frame_sink_id,
+ SurfaceManager* manager,
+ SurfaceFactoryClient* client,
+ SurfaceResourceHolderClient* resource_holder_client)
: frame_sink_id_(frame_sink_id),
manager_(manager),
client_(client),
- holder_(client),
+ holder_(resource_holder_client),
needs_sync_points_(true),
weak_factory_(this) {}
« no previous file with comments | « cc/surfaces/surface_factory.h ('k') | cc/surfaces/surface_factory_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698