| Index: cc/base/tiling_data_unittest.cc
|
| diff --git a/cc/base/tiling_data_unittest.cc b/cc/base/tiling_data_unittest.cc
|
| index 55b3b6d77ecf7637fdc8012aa1e1c6fdc3d6b7c3..db2d6f215a9a86e2d370fe963f2b3a8502d30236 100644
|
| --- a/cc/base/tiling_data_unittest.cc
|
| +++ b/cc/base/tiling_data_unittest.cc
|
| @@ -13,8 +13,8 @@
|
| namespace {
|
|
|
| int NumTiles(
|
| - const gfx::Size& max_texture_size,
|
| - const gfx::Size& total_size,
|
| + gfx::Size max_texture_size,
|
| + gfx::Size total_size,
|
| bool has_border_texels) {
|
| TilingData tiling(max_texture_size, total_size, has_border_texels);
|
| int num_tiles = tiling.num_tiles_x() * tiling.num_tiles_y();
|
| @@ -28,8 +28,8 @@
|
| }
|
|
|
| int XIndex(
|
| - const gfx::Size& max_texture_size,
|
| - const gfx::Size& total_size,
|
| + gfx::Size max_texture_size,
|
| + gfx::Size total_size,
|
| bool has_border_texels,
|
| int x_coord) {
|
| TilingData tiling(max_texture_size, total_size, has_border_texels);
|
| @@ -37,8 +37,8 @@
|
| }
|
|
|
| int YIndex(
|
| - const gfx::Size& max_texture_size,
|
| - const gfx::Size& total_size,
|
| + gfx::Size max_texture_size,
|
| + gfx::Size total_size,
|
| bool has_border_texels,
|
| int y_coord) {
|
| TilingData tiling(max_texture_size, total_size, has_border_texels);
|
| @@ -46,8 +46,8 @@
|
| }
|
|
|
| int MinBorderXIndex(
|
| - const gfx::Size& max_texture_size,
|
| - const gfx::Size& total_size,
|
| + gfx::Size max_texture_size,
|
| + gfx::Size total_size,
|
| bool has_border_texels,
|
| int x_coord) {
|
| TilingData tiling(max_texture_size, total_size, has_border_texels);
|
| @@ -55,8 +55,8 @@
|
| }
|
|
|
| int MinBorderYIndex(
|
| - const gfx::Size& max_texture_size,
|
| - const gfx::Size& total_size,
|
| + gfx::Size max_texture_size,
|
| + gfx::Size total_size,
|
| bool has_border_texels,
|
| int y_coord) {
|
| TilingData tiling(max_texture_size, total_size, has_border_texels);
|
| @@ -64,8 +64,8 @@
|
| }
|
|
|
| int MaxBorderXIndex(
|
| - const gfx::Size& max_texture_size,
|
| - const gfx::Size& total_size,
|
| + gfx::Size max_texture_size,
|
| + gfx::Size total_size,
|
| bool has_border_texels,
|
| int x_coord) {
|
| TilingData tiling(max_texture_size, total_size, has_border_texels);
|
| @@ -73,8 +73,8 @@
|
| }
|
|
|
| int MaxBorderYIndex(
|
| - const gfx::Size& max_texture_size,
|
| - const gfx::Size& total_size,
|
| + gfx::Size max_texture_size,
|
| + gfx::Size total_size,
|
| bool has_border_texels,
|
| int y_coord) {
|
| TilingData tiling(max_texture_size, total_size, has_border_texels);
|
| @@ -82,8 +82,8 @@
|
| }
|
|
|
| int PosX(
|
| - const gfx::Size& max_texture_size,
|
| - const gfx::Size& total_size,
|
| + gfx::Size max_texture_size,
|
| + gfx::Size total_size,
|
| bool has_border_texels,
|
| int x_index) {
|
| TilingData tiling(max_texture_size, total_size, has_border_texels);
|
| @@ -91,8 +91,8 @@
|
| }
|
|
|
| int PosY(
|
| - const gfx::Size& max_texture_size,
|
| - const gfx::Size& total_size,
|
| + gfx::Size max_texture_size,
|
| + gfx::Size total_size,
|
| bool has_border_texels,
|
| int y_index) {
|
| TilingData tiling(max_texture_size, total_size, has_border_texels);
|
| @@ -100,8 +100,8 @@
|
| }
|
|
|
| int SizeX(
|
| - const gfx::Size& max_texture_size,
|
| - const gfx::Size& total_size,
|
| + gfx::Size max_texture_size,
|
| + gfx::Size total_size,
|
| bool has_border_texels,
|
| int x_index) {
|
| TilingData tiling(max_texture_size, total_size, has_border_texels);
|
| @@ -109,8 +109,8 @@
|
| }
|
|
|
| int SizeY(
|
| - const gfx::Size& max_texture_size,
|
| - const gfx::Size& total_size,
|
| + gfx::Size max_texture_size,
|
| + gfx::Size total_size,
|
| bool has_border_texels,
|
| int y_index) {
|
| TilingData tiling(max_texture_size, total_size, has_border_texels);
|
|
|