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

Unified Diff: ui/compositor/paint_recorder.cc

Issue 2230513005: Move visual rect unioning between paired items to cc::DisplayItemList. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Code review feedback. Created 4 years, 4 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 | « ui/compositor/paint_cache.cc ('k') | ui/compositor/transform_recorder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/paint_recorder.cc
diff --git a/ui/compositor/paint_recorder.cc b/ui/compositor/paint_recorder.cc
index 76ea8ff2441c716e281a67ebdafc4d83fe526d84..2c01e5c43d9c9f41835f99f91c3e8ea54b876a58 100644
--- a/ui/compositor/paint_recorder.cc
+++ b/ui/compositor/paint_recorder.cc
@@ -42,9 +42,8 @@ PaintRecorder::~PaintRecorder() {
context_.inside_paint_recorder_ = false;
#endif
const auto& item =
- context_.list_->CreateAndAppendItem<cc::DrawingDisplayItem>(
- bounds_in_layer_,
- context_.recorder_->finishRecordingAsPicture());
+ context_.list_->CreateAndAppendDrawingItem<cc::DrawingDisplayItem>(
+ bounds_in_layer_, context_.recorder_->finishRecordingAsPicture());
if (cache_)
cache_->SetCache(item);
}
« no previous file with comments | « ui/compositor/paint_cache.cc ('k') | ui/compositor/transform_recorder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698