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

Unified Diff: ui/views/view.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/transform_recorder.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/view.cc
diff --git a/ui/views/view.cc b/ui/views/view.cc
index be3bbf5b7ed29370ae2f344bf04420ee029dbe93..3da5ce03e9bebc312f4d49c315c256f4c895cf69 100644
--- a/ui/views/view.cc
+++ b/ui/views/view.cc
@@ -826,7 +826,7 @@ void View::Paint(const ui::PaintContext& parent_context) {
transform_from_parent.Translate(offset_from_parent.x(),
offset_from_parent.y());
transform_from_parent.PreconcatTransform(GetTransform());
- transform_recorder.Transform(transform_from_parent, size());
+ transform_recorder.Transform(transform_from_parent);
}
// Note that the cache is not aware of the offset of the view
« no previous file with comments | « ui/compositor/transform_recorder.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698