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

Unified Diff: cc/resources/picture_layer_tiling.cc

Issue 548223003: cc: Block drawing of tiles without twins. (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
Index: cc/resources/picture_layer_tiling.cc
diff --git a/cc/resources/picture_layer_tiling.cc b/cc/resources/picture_layer_tiling.cc
index 3d132e162c7aca32e1b41ff875808962933fab50..5da7bb00be3031b47ccb6f8ffec93d096e2eb016 100644
--- a/cc/resources/picture_layer_tiling.cc
+++ b/cc/resources/picture_layer_tiling.cc
@@ -1095,4 +1095,8 @@ operator++() {
return *this;
}
+int PictureLayerTiling::tiles_size() const {
+ return tiles_.size();
+}
+
} // namespace cc

Powered by Google App Engine
This is Rietveld 408576698