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

Unified Diff: cc/resources/managed_tile_state.cc

Issue 412143003: cc: Default initialize solid color in tile version constructor. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 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: cc/resources/managed_tile_state.cc
diff --git a/cc/resources/managed_tile_state.cc b/cc/resources/managed_tile_state.cc
index 037432764bdaefebcb6928abaa4abaf38d90261d..c760eb7797457985c00838aa466b5a99ac200e60 100644
--- a/cc/resources/managed_tile_state.cc
+++ b/cc/resources/managed_tile_state.cc
@@ -54,7 +54,8 @@ ManagedTileState::ManagedTileState()
visible_and_ready_to_draw(false),
scheduled_priority(0) {}
-ManagedTileState::TileVersion::TileVersion() : mode_(RESOURCE_MODE) {
+ManagedTileState::TileVersion::TileVersion()
+ : mode_(RESOURCE_MODE), solid_color_(SK_ColorWHITE) {
}
ManagedTileState::TileVersion::~TileVersion() { DCHECK(!resource_); }
« 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