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

Unified Diff: chrome/test/gpu/gpu_pixel_browsertest.cc

Issue 9288053: Remove old (pre-webkit) compositor (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix test Created 8 years, 11 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: chrome/test/gpu/gpu_pixel_browsertest.cc
diff --git a/chrome/test/gpu/gpu_pixel_browsertest.cc b/chrome/test/gpu/gpu_pixel_browsertest.cc
index 086a65551b1eb21508a8a70eb5ccf3cb53a10df5..b4b98c3a9a09069d2616834ba7d90550fcd56660 100644
--- a/chrome/test/gpu/gpu_pixel_browsertest.cc
+++ b/chrome/test/gpu/gpu_pixel_browsertest.cc
@@ -25,14 +25,8 @@
#include "third_party/skia/include/core/SkBitmap.h"
#include "third_party/skia/include/core/SkColor.h"
#include "ui/gfx/codec/png_codec.h"
-#include "ui/gfx/size.h"
-#include "ui/gfx/test/gfx_test_utils.h"
-
-#if defined(USE_WEBKIT_COMPOSITOR)
#include "ui/gfx/compositor/compositor_setup.h"
-#elif defined(VIEWS_COMPOSITOR)
-#include "ui/gfx/compositor/compositor.h"
-#endif
+#include "ui/gfx/size.h"
namespace {
@@ -105,11 +99,7 @@ class GpuPixelBrowserTest : public InProcessBrowserTest {
&test_name_, 0, test_status_prefixes[i], "");
}
-#if defined(USE_WEBKIT_COMPOSITOR)
ui::DisableTestCompositor();
-#elif defined(VIEWS_COMPOSITOR)
- ui::Compositor::set_compositor_factory_for_testing(NULL);
-#endif
}
// If the existing ref image was saved from an revision older than the
« no previous file with comments | « chrome/test/base/chrome_test_suite.cc ('k') | content/browser/renderer_host/accelerated_surface_container_linux_gl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698