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

Unified Diff: cc/resources/scoped_resource.h

Issue 14301021: cc: Don't pass simple well-defined classes by reference. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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/resources/resource_pool.cc ('k') | cc/resources/scoped_resource.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/scoped_resource.h
diff --git a/cc/resources/scoped_resource.h b/cc/resources/scoped_resource.h
index 576b1f8f8682afe1a29ceadbb7aa5c3628f201ca..6a2c8f1e72760f3513d53e856e284ee2bd5365c9 100644
--- a/cc/resources/scoped_resource.h
+++ b/cc/resources/scoped_resource.h
@@ -25,8 +25,9 @@ class CC_EXPORT ScopedResource : public Resource {
}
virtual ~ScopedResource();
- bool Allocate(const gfx::Size&, GLenum format,
- ResourceProvider::TextureUsageHint);
+ bool Allocate(gfx::Size size,
+ GLenum format,
+ ResourceProvider::TextureUsageHint hint);
void Free();
void Leak();
« no previous file with comments | « cc/resources/resource_pool.cc ('k') | cc/resources/scoped_resource.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698