Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(234)

Unified Diff: cc/debug/debug_colors.cc

Issue 951673002: Revert "Pull chromium at 2c3ffb2355a27c32f45e508ef861416b820c823b" (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/debug/debug_colors.h ('k') | cc/input/input_handler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/debug/debug_colors.cc
diff --git a/cc/debug/debug_colors.cc b/cc/debug/debug_colors.cc
index 38ecf54c8534e482ca50e475c37e71a698611d45..daec5cc21598cf4a4d64e058a704a1fa9fb78d3f 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 dark grey.
+// Missing tile borders are red.
SkColor DebugColors::MissingTileBorderColor() {
- return SkColorSetARGB(64, 64, 64, 0);
+ return SkColorSetARGB(100, 255, 0, 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);
}
-// OOM tile borders are red.
-SkColor DebugColors::OOMTileBorderColor() {
- return SkColorSetARGB(100, 255, 0, 0);
+// Picture tile borders are dark grey.
+SkColor DebugColors::PictureTileBorderColor() {
+ return SkColorSetARGB(64, 64, 64, 0);
}
-int DebugColors::OOMTileBorderWidth(const LayerTreeImpl* tree_impl) {
+int DebugColors::PictureTileBorderWidth(const LayerTreeImpl* tree_impl) {
return Scale(1, tree_impl);
}
« no previous file with comments | « cc/debug/debug_colors.h ('k') | cc/input/input_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698