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

Unified Diff: chromecast/shell/renderer/cast_content_renderer_client.cc

Issue 615113002: Chromecast: use ARGB format for WebColor. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/shell/renderer/cast_content_renderer_client.cc
diff --git a/chromecast/shell/renderer/cast_content_renderer_client.cc b/chromecast/shell/renderer/cast_content_renderer_client.cc
index 59e6c1f46915bd2c2e2362bab3bef7986a7cd370..d7cb87cad23436c1495a7490515840e7700bb439 100644
--- a/chromecast/shell/renderer/cast_content_renderer_client.cc
+++ b/chromecast/shell/renderer/cast_content_renderer_client.cc
@@ -21,8 +21,9 @@ namespace shell {
namespace {
-// Default background color to set for WebViews
-const blink::WebColor kColorBlack = 0x000000FF;
+// Default background color to set for WebViews. WebColor is in ARGB format
+// though the comment of WebColor says it is in RGBA.
+const blink::WebColor kColorBlack = 0xFF000000;
} // namespace
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698