Chromium Code Reviews| Index: cc/debug/debug_colors.cc |
| diff --git a/cc/debug/debug_colors.cc b/cc/debug/debug_colors.cc |
| index daec5cc21598cf4a4d64e058a704a1fa9fb78d3f..38ecf54c8534e482ca50e475c37e71a698611d45 100644 |
| --- a/cc/debug/debug_colors.cc |
| +++ b/cc/debug/debug_colors.cc |
| @@ -114,9 +114,9 @@ int DebugColors::ExtraLowResTileBorderWidth(const LayerTreeImpl* tree_impl) { |
| return Scale(2, tree_impl); |
| } |
| -// Missing tile borders are red. |
| +// Missing tile borders are dark grey. |
| SkColor DebugColors::MissingTileBorderColor() { |
| - return SkColorSetARGB(100, 255, 0, 0); |
| + return SkColorSetARGB(64, 64, 64, 0); |
| } |
| int DebugColors::MissingTileBorderWidth(const LayerTreeImpl* tree_impl) { |
| return Scale(1, tree_impl); |
| @@ -130,11 +130,11 @@ int DebugColors::SolidColorTileBorderWidth(const LayerTreeImpl* tree_impl) { |
| return Scale(1, tree_impl); |
| } |
| -// Picture tile borders are dark grey. |
| -SkColor DebugColors::PictureTileBorderColor() { |
| - return SkColorSetARGB(64, 64, 64, 0); |
| +// OOM tile borders are red. |
|
enne (OOO)
2015/02/18 22:32:27
style nit: Can you be consistent with the rest of
danakj
2015/02/18 22:33:59
LOL :D Sry copypasta
|
| +SkColor DebugColors::OOMTileBorderColor() { |
| + return SkColorSetARGB(100, 255, 0, 0); |
| } |
| -int DebugColors::PictureTileBorderWidth(const LayerTreeImpl* tree_impl) { |
| +int DebugColors::OOMTileBorderWidth(const LayerTreeImpl* tree_impl) { |
| return Scale(1, tree_impl); |
| } |