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

Unified Diff: cc/surfaces/surface_resource_holder.h

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_manager_unittest.cc ('k') | cc/surfaces/surface_resource_holder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/surfaces/surface_resource_holder.h
diff --git a/cc/surfaces/surface_resource_holder.h b/cc/surfaces/surface_resource_holder.h
index 5d222864e8b41cc7c43a99fc601473dec7ee1906..e40f4945600192fc7b14abd6750cb13e5e85ce62 100644
--- a/cc/surfaces/surface_resource_holder.h
+++ b/cc/surfaces/surface_resource_holder.h
@@ -14,7 +14,7 @@
#include "cc/surfaces/surfaces_export.h"
namespace cc {
-class SurfaceFactoryClient;
+class SurfaceResourceHolderClient;
// A SurfaceResourceHolder manages the lifetime of resources submitted by a
// particular SurfaceFactory. Each resource is held by the service until
@@ -22,7 +22,7 @@ class SurfaceFactoryClient;
// resource providers.
class CC_SURFACES_EXPORT SurfaceResourceHolder {
public:
- explicit SurfaceResourceHolder(SurfaceFactoryClient* client);
+ explicit SurfaceResourceHolder(SurfaceResourceHolderClient* client);
~SurfaceResourceHolder();
void Reset();
@@ -31,7 +31,7 @@ class CC_SURFACES_EXPORT SurfaceResourceHolder {
void UnrefResources(const ReturnedResourceArray& resources);
private:
- SurfaceFactoryClient* client_;
+ SurfaceResourceHolderClient* client_;
struct ResourceRefs {
ResourceRefs();
« no previous file with comments | « cc/surfaces/surface_manager_unittest.cc ('k') | cc/surfaces/surface_resource_holder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698