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

Unified Diff: ui/aura/window_unittest.cc

Issue 252963003: Revert of Adds back some debugging code (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | « ui/aura/window_observer.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/window_unittest.cc
diff --git a/ui/aura/window_unittest.cc b/ui/aura/window_unittest.cc
index 96cd670b917c3c9d6be6ebc3fdcbdf3af222dc28..c0bb6a56a289bcab2ec67866fa586192dd5b2f6a 100644
--- a/ui/aura/window_unittest.cc
+++ b/ui/aura/window_unittest.cc
@@ -2231,7 +2231,6 @@
parent1.SetBounds(gfx::Rect(10, 10, 300, 300));
parent2.SetBounds(gfx::Rect(20, 20, 300, 300));
- BoundsChangedWindowObserver observer;
Window child(NULL);
child.Init(aura::WINDOW_LAYER_NOT_DRAWN);
child.SetBounds(gfx::Rect(5, 5, 100, 100));
@@ -2245,6 +2244,7 @@
gfx::Rect new_bounds(gfx::Rect(35, 35, 50, 50));
child.SetBounds(new_bounds);
+ BoundsChangedWindowObserver observer;
child.AddObserver(&observer);
// Reparenting the |child| will cause it to get moved. During this move
« no previous file with comments | « ui/aura/window_observer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698