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

Unified Diff: chrome/browser/ui/panels/panel_window_controller_cocoa.mm

Issue 8892020: Make Panel tests faster by reducing time intervals in tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years 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 | « chrome/browser/ui/panels/panel_strip.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/panels/panel_window_controller_cocoa.mm
diff --git a/chrome/browser/ui/panels/panel_window_controller_cocoa.mm b/chrome/browser/ui/panels/panel_window_controller_cocoa.mm
index c37fc3f4b1253b72336cdd001f8060dd010936e0..3e41675ef7bb00e86887b7f6080e04f2c6b46ef5 100644
--- a/chrome/browser/ui/panels/panel_window_controller_cocoa.mm
+++ b/chrome/browser/ui/panels/panel_window_controller_cocoa.mm
@@ -468,7 +468,7 @@ enum {
duration = 1.5;
}
}
- [boundsAnimation_ setDuration: duration];
+ [boundsAnimation_ setDuration: PanelManager::AdjustTimeInterval(duration)];
[boundsAnimation_ setFrameRate:0.0];
[boundsAnimation_ setAnimationBlockingMode: NSAnimationNonblocking];
[boundsAnimation_ startAnimation];
« no previous file with comments | « chrome/browser/ui/panels/panel_strip.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698