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

Unified Diff: ui/compositor/layer.h

Issue 23097005: cc: return resources via a ReturnedResource struct rather than TransferableResource (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review nits Created 7 years, 4 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 | « content/common/cc_messages.h ('k') | ui/compositor/layer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/layer.h
diff --git a/ui/compositor/layer.h b/ui/compositor/layer.h
index aa78d93b73eb54ff9f367ff3c5d52ed99fd8d86c..cd640b1a2b4b21f60c201ffa9fdd70dec0cf4069 100644
--- a/ui/compositor/layer.h
+++ b/ui/compositor/layer.h
@@ -38,8 +38,8 @@ class Layer;
class ResourceUpdateQueue;
class SolidColorLayer;
class TextureLayer;
-struct TransferableResource;
-typedef std::vector<TransferableResource> TransferableResourceArray;
+struct ReturnedResource;
+typedef std::vector<ReturnedResource> ReturnedResourceArray;
}
namespace ui {
@@ -267,7 +267,7 @@ class COMPOSITOR_EXPORT Layer
// Gets unused resources to recycle to the child compositor.
void TakeUnusedResourcesForChildCompositor(
- cc::TransferableResourceArray* array);
+ cc::ReturnedResourceArray* array);
// Sets the layer's fill color. May only be called for LAYER_SOLID_COLOR.
void SetColor(SkColor color);
« no previous file with comments | « content/common/cc_messages.h ('k') | ui/compositor/layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698