From e0fc9cd69f11520ad44e06be26319324caaa13ba Mon Sep 17 00:00:00 2001 From: Chinmay Garde Date: Wed, 9 Sep 2015 17:10:08 -0700 Subject: [PATCH] Rename compositor_tools -> checkerboard --- sky/compositor/BUILD.gn | 4 ++-- sky/compositor/{compositor_tools.cc => checkerboard.cc} | 2 +- sky/compositor/{compositor_tools.h => checkerboard.h} | 6 +++--- sky/compositor/picture_rasterizer.cc | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) rename sky/compositor/{compositor_tools.cc => checkerboard.cc} (96%) rename sky/compositor/{compositor_tools.h => checkerboard.h} (73%) diff --git a/sky/compositor/BUILD.gn b/sky/compositor/BUILD.gn index c49b98abaec..61a6b5cb47e 100644 --- a/sky/compositor/BUILD.gn +++ b/sky/compositor/BUILD.gn @@ -4,6 +4,8 @@ source_set("compositor") { sources = [ + "checkerboard.cc", + "checkerboard.h", "clip_path_layer.cc", "clip_path_layer.h", "clip_rect_layer.cc", @@ -13,8 +15,6 @@ source_set("compositor") { "color_filter_layer.cc", "color_filter_layer.h", "compositor_config.h", - "compositor_tools.cc", - "compositor_tools.h", "container_layer.cc", "container_layer.h", "layer.cc", diff --git a/sky/compositor/compositor_tools.cc b/sky/compositor/checkerboard.cc similarity index 96% rename from sky/compositor/compositor_tools.cc rename to sky/compositor/checkerboard.cc index f2213838080..ab7d70f39ae 100644 --- a/sky/compositor/compositor_tools.cc +++ b/sky/compositor/checkerboard.cc @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "sky/compositor/compositor_tools.h" +#include "sky/compositor/checkerboard.h" #include "third_party/skia/include/core/SkShader.h" namespace sky { diff --git a/sky/compositor/compositor_tools.h b/sky/compositor/checkerboard.h similarity index 73% rename from sky/compositor/compositor_tools.h rename to sky/compositor/checkerboard.h index 1e9896c4ea3..b52e69eb874 100644 --- a/sky/compositor/compositor_tools.h +++ b/sky/compositor/checkerboard.h @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef SKY_COMPOSITOR_COMPOSITOR_TOOLS_H_ -#define SKY_COMPOSITOR_COMPOSITOR_TOOLS_H_ +#ifndef SKY_COMPOSITOR_CHECKERBOARD_H_ +#define SKY_COMPOSITOR_CHECKERBOARD_H_ #include "third_party/skia/include/core/SkCanvas.h" @@ -15,4 +15,4 @@ void DrawCheckerboard(SkCanvas* canvas, int width, int height); } // namespace compositor } // namespace sky -#endif // SKY_COMPOSITOR_COMPOSITOR_TOOLS_H_ +#endif // SKY_COMPOSITOR_CHECKERBOARD_H_ diff --git a/sky/compositor/picture_rasterizer.cc b/sky/compositor/picture_rasterizer.cc index fe0b1621518..8a60fe4ec95 100644 --- a/sky/compositor/picture_rasterizer.cc +++ b/sky/compositor/picture_rasterizer.cc @@ -3,7 +3,7 @@ // found in the LICENSE file. #include "sky/compositor/compositor_config.h" -#include "sky/compositor/compositor_tools.h" +#include "sky/compositor/checkerboard.h" #include "sky/compositor/picture_rasterizer.h" #include "base/logging.h" #include "third_party/skia/include/core/SkPicture.h"