diff options
Diffstat (limited to 'chrome/test/base/in_process_browser_test.cc')
-rw-r--r-- | chrome/test/base/in_process_browser_test.cc | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/chrome/test/base/in_process_browser_test.cc b/chrome/test/base/in_process_browser_test.cc index f5ef96f..89d0e56 100644 --- a/chrome/test/base/in_process_browser_test.cc +++ b/chrome/test/base/in_process_browser_test.cc @@ -44,11 +44,6 @@ #include "base/mac/scoped_nsautorelease_pool.h" #endif -#if defined(USE_AURA) -#include "ui/aura/root_window.h" -#include "ui/views/widget/widget.h" -#endif - namespace { // Passed as value of kTestType. @@ -254,14 +249,6 @@ void InProcessBrowserTest::AddBlankTabAndShow(Browser* browser) { GURL(chrome::kAboutBlankURL), content::PAGE_TRANSITION_START_PAGE); observer.Wait(); -#if defined(USE_AURA) - // Disable animations on aura, otherwise any code that gets the bounds may get - // the wrong thing. - views::Widget* widget = views::Widget::GetWidgetForNativeView( - browser->window()->GetNativeHandle()); - widget->SetVisibilityChangedAnimationsEnabled(false); -#endif - browser->window()->Show(); } |