| Index: cc/test/test_texture.cc
|
| diff --git a/cc/test/test_texture.cc b/cc/test/test_texture.cc
|
| index 8addc7920f9789e6a012dc0e64f2a19a4b48aa50..0f4f07cafbc3d800ef524d0243e2c5c09db1378c 100644
|
| --- a/cc/test/test_texture.cc
|
| +++ b/cc/test/test_texture.cc
|
| @@ -9,7 +9,7 @@
|
|
|
| namespace cc {
|
|
|
| -size_t TextureSizeBytes(const gfx::Size& size, ResourceFormat format) {
|
| +size_t TextureSizeBytes(gfx::Size size, ResourceFormat format) {
|
| unsigned int components_per_pixel = 4;
|
| unsigned int bytes_per_component = 1;
|
| return size.width() * size.height() * components_per_pixel *
|
| @@ -28,7 +28,7 @@
|
|
|
| TestTexture::~TestTexture() {}
|
|
|
| -void TestTexture::Reallocate(const gfx::Size& size, ResourceFormat format) {
|
| +void TestTexture::Reallocate(gfx::Size size, ResourceFormat format) {
|
| this->size = size;
|
| this->format = format;
|
| this->data.reset(new uint8_t[TextureSizeBytes(size, format)]);
|
|
|