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

Unified Diff: ui/compositor/layer.cc

Issue 2383263002: Generalize layer mirroring for phantom windows (Closed)
Patch Set: Created 4 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: ui/compositor/layer.cc
diff --git a/ui/compositor/layer.cc b/ui/compositor/layer.cc
index 7667b1efe8923fb8a311f232ceeab6e59071ba13..fae7a155c30da4b01ab6eb1511ec96f94855d290 100644
--- a/ui/compositor/layer.cc
+++ b/ui/compositor/layer.cc
@@ -916,6 +916,8 @@ void Layer::SetBoundsFromAnimation(const gfx::Rect& bounds) {
// Always schedule a paint, even if we're invisible.
SchedulePaint(gfx::Rect(bounds.size()));
}
+
+ FOR_EACH_OBSERVER(LayerObserver, observer_list_, BoundsChanged(this));
}
void Layer::SetTransformFromAnimation(const gfx::Transform& transform) {

Powered by Google App Engine
This is Rietveld 408576698