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

Unified Diff: chrome/browser/ui/cocoa/browser_window_controller_unittest.mm

Issue 2811793002: Turn off Auto Layout pending investigation of a performance regression. (Closed)
Patch Set: Created 3 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 | « no previous file | chrome/browser/ui/cocoa/tabs/tab_window_controller.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/browser_window_controller_unittest.mm
diff --git a/chrome/browser/ui/cocoa/browser_window_controller_unittest.mm b/chrome/browser/ui/cocoa/browser_window_controller_unittest.mm
index cfd132c4cc9b854aa9dcb30202d1a8c41f8b4639..d89b54124ee5b6e6a898024a51a9a9225ff706b9 100644
--- a/chrome/browser/ui/cocoa/browser_window_controller_unittest.mm
+++ b/chrome/browser/ui/cocoa/browser_window_controller_unittest.mm
@@ -754,7 +754,9 @@ TEST_F(BrowserWindowControllerTest, TabStripBackgroundViewRedrawTest) {
TEST_F(BrowserWindowControllerTest, UsesAutoLayout) {
// If Auto Layout is on, there will be synthesized constraints based on the
// view's frame and autoresizing mask.
- EXPECT_NE(0u, [[[controller_ chromeContentView] constraints] count]);
+ // TODO(sdy): Turn back on (or remove) after investigating a performance
+ // regression: https://crbug.com/706931
+ EXPECT_EQ(0u, [[[controller_ chromeContentView] constraints] count]);
}
@interface BrowserWindowControllerFakeFullscreen : BrowserWindowController {
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/tabs/tab_window_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698