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

Unified Diff: cc/playback/display_item_list.h

Issue 1349913002: Cache gpu suitability in DisplayItemList, remove SetUnsuitable...ForTesting (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Needs more nullptr Created 5 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/playback/display_item_list.h
diff --git a/cc/playback/display_item_list.h b/cc/playback/display_item_list.h
index 25fadc2acb50d7df96730137dc4d19a04a2dcae9..49aa454c8d483c242d58ff9b98f743bae5f555f7 100644
--- a/cc/playback/display_item_list.h
+++ b/cc/playback/display_item_list.h
@@ -100,11 +100,11 @@ class CC_EXPORT DisplayItemList
scoped_ptr<SkPictureRecorder> recorder_;
skia::RefPtr<SkCanvas> canvas_;
- bool use_cached_picture_;
+ const bool use_cached_picture_;
bool retain_individual_display_items_;
gfx::Rect layer_rect_;
- bool all_items_are_suitable_for_gpu_rasterization_;
+ bool is_suitable_for_gpu_rasterization_;
int approximate_op_count_;
// Memory usage due to the cached SkPicture.

Powered by Google App Engine
This is Rietveld 408576698