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

Unified Diff: trunk/src/content/browser/gpu/gpu_pixel_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_pixel_browsertest.cc
===================================================================
--- trunk/src/content/browser/gpu/gpu_pixel_browsertest.cc (revision 216906)
+++ trunk/src/content/browser/gpu/gpu_pixel_browsertest.cc (working copy)
@@ -24,6 +24,7 @@
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/skia/include/core/SkBitmap.h"
#include "third_party/skia/include/core/SkColor.h"
+#include "ui/compositor/compositor_setup.h"
#include "ui/gfx/codec/png_codec.h"
#include "ui/gfx/size.h"
#include "ui/gl/gl_switches.h"
@@ -105,13 +106,6 @@
ref_img_option_(kReferenceImageNone) {
}
- virtual void SetUp() {
- // We expect real pixel output for these tests.
- UseRealGLContexts();
-
- ContentBrowserTest::SetUp();
- }
-
virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE {
command_line->AppendSwitchASCII(switches::kTestGLLib,
"libllvmpipe.so");
@@ -156,6 +150,8 @@
ReplaceFirstSubstringAfterOffset(
&test_name_, 0, test_status_prefixes[i], std::string());
}
+
+ ui::DisableTestCompositor();
}
// If the existing ref image was saved from an revision older than the
« no previous file with comments | « trunk/src/content/browser/gpu/gpu_ipc_browsertests.cc ('k') | trunk/src/content/browser/media/media_browsertest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698