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

Unified Diff: ui/gfx/test/gfx_test_utils.cc

Issue 8404041: Revert 107563 - Fix up compositor mocking. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 2 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 | « ui/gfx/test/gfx_test_utils.h ('k') | views/run_all_unittests.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/test/gfx_test_utils.cc
===================================================================
--- ui/gfx/test/gfx_test_utils.cc (revision 107563)
+++ ui/gfx/test/gfx_test_utils.cc (working copy)
@@ -1,24 +0,0 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "ui/gfx/test/gfx_test_utils.h"
-
-#if defined(VIEWS_COMPOSITOR)
-#include "ui/gfx/compositor/compositor.h"
-#include "ui/gfx/compositor/test_compositor.h"
-#endif
-
-namespace ui {
-namespace gfx_test_utils {
-
-void SetupTestCompositor() {
-#if defined(VIEWS_COMPOSITOR)
- // Use a mock compositor that noops draws.
- ui::Compositor::set_compositor_factory_for_testing(
- ui::TestCompositor::Create);
-#endif
-}
-
-} // namespace gfx_test_utils
-} // namespace ui
« no previous file with comments | « ui/gfx/test/gfx_test_utils.h ('k') | views/run_all_unittests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698