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

Unified Diff: trunk/src/content/browser/gpu/gpu_info_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/gpu/gpu_info_browsertest.cc
===================================================================
--- trunk/src/content/browser/gpu/gpu_info_browsertest.cc (revision 216906)
+++ trunk/src/content/browser/gpu/gpu_info_browsertest.cc (working copy)
@@ -11,6 +11,7 @@
#include "content/public/browser/gpu_data_manager_observer.h"
#include "content/public/common/content_switches.h"
#include "content/test/content_browser_test.h"
+#include "ui/compositor/compositor_setup.h"
namespace content {
@@ -73,11 +74,9 @@
: message_loop_(base::MessageLoop::TYPE_UI) {
}
- virtual void SetUp() {
- // We expect real pixel output for these tests.
- UseRealGLContexts();
-
- ContentBrowserTest::SetUp();
+ virtual void SetUpInProcessBrowserTestFixture() OVERRIDE {
+ ContentBrowserTest::SetUpInProcessBrowserTestFixture();
+ ui::DisableTestCompositor();
}
base::MessageLoop* GetMessageLoop() { return &message_loop_; }

Powered by Google App Engine
This is Rietveld 408576698