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

Unified Diff: cc/resources/scoped_resource.h

Issue 142863008: Revert of [#7] Pass gfx structs by const ref (gfx::Size) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 11 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_provider_unittest.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 eebddc19ea1c8819fe847d29f59a22c4b8840ade..63f2cd48c478fd3518ca2631b5f985a0c390b55a 100644
--- a/cc/resources/scoped_resource.h
+++ b/cc/resources/scoped_resource.h
@@ -25,12 +25,10 @@
}
virtual ~ScopedResource();
- void Allocate(const gfx::Size& size,
+ void Allocate(gfx::Size size,
ResourceProvider::TextureUsageHint hint,
ResourceFormat format);
- void AllocateManaged(const gfx::Size& size,
- GLenum target,
- ResourceFormat format);
+ void AllocateManaged(gfx::Size size, GLenum target, ResourceFormat format);
void Free();
void Leak();
« no previous file with comments | « cc/resources/resource_provider_unittest.cc ('k') | cc/resources/scoped_resource.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698