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

Unified Diff: ui/aura/toplevel_window_event_filter.cc

Issue 7972023: Implicit animations through Layer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More tweaks Created 9 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
« no previous file with comments | « ui/aura/desktop.cc ('k') | ui/aura/window.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/toplevel_window_event_filter.cc
diff --git a/ui/aura/toplevel_window_event_filter.cc b/ui/aura/toplevel_window_event_filter.cc
index b578b040048b8cfa25dfdf606d65ff6e9d8bf958..90b61c695ce793c871cac8bfabedefd1cb1dcf1d 100644
--- a/ui/aura/toplevel_window_event_filter.cc
+++ b/ui/aura/toplevel_window_event_filter.cc
@@ -46,7 +46,7 @@ bool ToplevelWindowEventFilter::OnMouseEvent(Window* target,
gfx::Point new_origin(event->location());
new_origin.Offset(-mouse_down_offset_.x(), -mouse_down_offset_.y());
new_origin.Offset(target->bounds().x(), target->bounds().y());
- target->SetBounds(gfx::Rect(new_origin, target->bounds().size()), 0);
+ target->SetBounds(gfx::Rect(new_origin, target->bounds().size()));
return true;
}
break;
« no previous file with comments | « ui/aura/desktop.cc ('k') | ui/aura/window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698