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

Unified Diff: cc/layers/recording_source.cc

Issue 2830243002: cc: Don't perform image analysis if the DisplayItemList has no images. (Closed)
Patch Set: for-draw-ops-only Created 3 years, 8 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 | cc/paint/display_item_list.h » ('j') | cc/paint/paint_op_buffer.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/recording_source.cc
diff --git a/cc/layers/recording_source.cc b/cc/layers/recording_source.cc
index 9b1efbd7137db580582c602a6cfdb04eb56dd8c0..4193cf114f1f53c774328266bb39b49f7f6e2a10 100644
--- a/cc/layers/recording_source.cc
+++ b/cc/layers/recording_source.cc
@@ -56,8 +56,6 @@ void RecordingSource::FinishDisplayItemListUpdate() {
TRACE_EVENT0("cc", "RecordingSource::FinishDisplayItemListUpdate");
DetermineIfSolidColor();
display_list_->EmitTraceSnapshot();
- if (generate_discardable_images_metadata_)
vmpstr 2017/04/25 17:43:40 This is the only place this flag is used afaik. If
Khushal 2017/04/25 18:18:10 That was my plan. After rebasing on your patch.
- display_list_->GenerateDiscardableImagesMetadata();
}
void RecordingSource::SetNeedsDisplayRect(const gfx::Rect& layer_rect) {
« no previous file with comments | « no previous file | cc/paint/display_item_list.h » ('j') | cc/paint/paint_op_buffer.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698