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

Unified Diff: content/browser/web_contents/web_contents_view_aura_browsertest.cc

Issue 311783002: Revert r274404 and r274409: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 | « content/browser/web_contents/aura/window_slider_unittest.cc ('k') | ui/aura/window_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/web_contents/web_contents_view_aura_browsertest.cc
diff --git a/content/browser/web_contents/web_contents_view_aura_browsertest.cc b/content/browser/web_contents/web_contents_view_aura_browsertest.cc
index d4f85238b1ae29ad511069a9f408fb2a20860ccd..fa9f3bde7fcd7eac25ac3d8ff5197bd2fa574b09 100644
--- a/content/browser/web_contents/web_contents_view_aura_browsertest.cc
+++ b/content/browser/web_contents/web_contents_view_aura_browsertest.cc
@@ -31,7 +31,6 @@
#include "ui/aura/window.h"
#include "ui/aura/window_tree_host.h"
#include "ui/compositor/scoped_animation_duration_scale_mode.h"
-#include "ui/compositor/test/draw_waiter_for_test.h"
#include "ui/events/event_processor.h"
#include "ui/events/event_utils.h"
@@ -263,15 +262,6 @@ class WebContentsViewAuraTest : public ContentBrowserTest {
}
private:
- // BrowserTestBase:
- virtual void TearDownOnMainThread() OVERRIDE {
- aura::Window* window = shell()->web_contents()->GetNativeView();
- ui::Compositor* compositor = window->layer()->GetCompositor();
- while (compositor->layer_animator_collection()->HasActiveAnimators())
- ui::DrawWaiterForTest::Wait(compositor);
- ContentBrowserTest::TearDownOnMainThread();
- }
-
ScreenshotTracker* screenshot_manager_;
DISALLOW_COPY_AND_ASSIGN(WebContentsViewAuraTest);
« no previous file with comments | « content/browser/web_contents/aura/window_slider_unittest.cc ('k') | ui/aura/window_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698