summaryrefslogtreecommitdiffstats
path: root/cc/resources/prioritized_resource.h
diff options
context:
space:
mode:
Diffstat (limited to 'cc/resources/prioritized_resource.h')
-rw-r--r--cc/resources/prioritized_resource.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/cc/resources/prioritized_resource.h b/cc/resources/prioritized_resource.h
index cf8df6a..641782e 100644
--- a/cc/resources/prioritized_resource.h
+++ b/cc/resources/prioritized_resource.h
@@ -25,7 +25,7 @@ class CC_EXPORT PrioritizedResource {
public:
static scoped_ptr<PrioritizedResource> Create(
PrioritizedResourceManager* manager,
- const gfx::Size& size,
+ gfx::Size size,
ResourceFormat format) {
return make_scoped_ptr(new PrioritizedResource(manager, size, format));
}
@@ -40,7 +40,7 @@ class CC_EXPORT PrioritizedResource {
// Setting these to the same value is a no-op.
void SetTextureManager(PrioritizedResourceManager* manager);
PrioritizedResourceManager* resource_manager() { return manager_; }
- void SetDimensions(const gfx::Size& size, ResourceFormat format);
+ void SetDimensions(gfx::Size size, ResourceFormat format);
ResourceFormat format() const { return format_; }
gfx::Size size() const { return size_; }
size_t bytes() const { return bytes_; }
@@ -107,7 +107,7 @@ class CC_EXPORT PrioritizedResource {
public:
Backing(unsigned id,
ResourceProvider* resource_provider,
- const gfx::Size& size,
+ gfx::Size size,
ResourceFormat format);
~Backing();
void UpdatePriority();
@@ -150,7 +150,7 @@ class CC_EXPORT PrioritizedResource {
};
PrioritizedResource(PrioritizedResourceManager* resource_manager,
- const gfx::Size& size,
+ gfx::Size size,
ResourceFormat format);
bool is_above_priority_cutoff() { return is_above_priority_cutoff_; }