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

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

Issue 22648006: Revert 216780 "Clean up compositor initialization/destruction." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 4 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
Index: trunk/src/content/browser/web_contents/web_contents_view_aura_browsertest.cc
===================================================================
--- trunk/src/content/browser/web_contents/web_contents_view_aura_browsertest.cc (revision 216906)
+++ trunk/src/content/browser/web_contents/web_contents_view_aura_browsertest.cc (working copy)
@@ -24,6 +24,7 @@
#include "ui/aura/root_window.h"
#include "ui/aura/test/event_generator.h"
#include "ui/aura/window.h"
+#include "ui/compositor/compositor_setup.h"
#include "ui/compositor/scoped_animation_duration_scale_mode.h"
namespace content {
@@ -86,11 +87,6 @@
: screenshot_manager_(NULL) {
}
- virtual void SetUp() OVERRIDE {
- // TODO(jbauman): Remove this. http://crbug.com/268644
- UseRealGLContexts();
- }
-
// Executes the javascript synchronously and makes sure the returned value is
// freed properly.
void ExecuteSyncJSFunction(RenderViewHost* rvh, const std::string& jscript) {
@@ -330,6 +326,9 @@
// gesture.
IN_PROC_BROWSER_TEST_F(WebContentsViewAuraTest,
OverscrollScreenshot) {
+ // http://crbug.com/268644
+ if (ui::IsTestCompositorEnabled())
+ return;
ASSERT_NO_FATAL_FAILURE(
StartTestWithPage("files/overscroll_navigation.html"));
WebContentsImpl* web_contents =
@@ -424,6 +423,9 @@
// RenderViewHost to be swapped out.
IN_PROC_BROWSER_TEST_F(WebContentsViewAuraTest,
ScreenshotForSwappedOutRenderViews) {
+ // http://crbug.com/268644
+ if (ui::IsTestCompositorEnabled())
+ return;
ASSERT_NO_FATAL_FAILURE(
StartTestWithPage("files/overscroll_navigation.html"));
// Create a new server with a different site.
Property changes on: trunk/src/content/browser/web_contents/web_contents_view_aura_browsertest.cc
___________________________________________________________________
Deleted: svn:mergeinfo

Powered by Google App Engine
This is Rietveld 408576698