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

Unified Diff: cc/resources/tile.cc

Issue 1139063002: cc: Partial tile update for one-copy raster. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: monocle: startat1 Created 5 years, 7 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
Index: cc/resources/tile.cc
diff --git a/cc/resources/tile.cc b/cc/resources/tile.cc
index 2faa6e48b2e4c2c4d4be306394b1c89170dcd1d7..f27ba2f37675d0ba499cb1961f8ad9aaec109fd2 100644
--- a/cc/resources/tile.cc
+++ b/cc/resources/tile.cc
@@ -13,7 +13,7 @@
namespace cc {
-Tile::Id Tile::s_next_id_ = 0;
+Tile::Id Tile::s_next_id_ = 1;
Tile::Tile(TileManager* tile_manager,
RasterSource* raster_source,
@@ -35,6 +35,7 @@ Tile::Tile(TileManager* tile_manager,
required_for_activation_(false),
required_for_draw_(false),
id_(s_next_id_++),
+ invalidated_id_(0),
scheduled_priority_(0) {
set_raster_source(raster_source);
}

Powered by Google App Engine
This is Rietveld 408576698