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

Unified Diff: cc/test/test_common.h

Issue 11361223: cc: Remove cc::settings, move them to LayerTreeSettings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix-unittests Created 8 years, 1 month 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 | « cc/test/layer_tree_test_common.cc ('k') | chrome/browser/chrome_content_browser_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/test_common.h
diff --git a/cc/test/test_common.h b/cc/test/test_common.h
deleted file mode 100644
index eea843f868088b3ba201c8a82114d04227714b22..0000000000000000000000000000000000000000
--- a/cc/test/test_common.h
+++ /dev/null
@@ -1,22 +0,0 @@
-// Copyright 2012 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.
-
-#ifndef CC_TEST_TEST_COMMON_H_
-#define CC_TEST_TEST_COMMON_H_
-
-#include "cc/settings.h"
-
-namespace WebKitTests {
-
-// If you have a test that modifies or uses global settings, keep an instance
-// of this class to ensure that you start and end with a clean slate.
-class ScopedSettings {
-public:
- ScopedSettings() { cc::Settings::resetForTest(); }
- ~ScopedSettings() { cc::Settings::resetForTest(); }
-};
-
-} // namespace WebKitTests
-
-#endif // CC_TEST_TEST_COMMON_H_
« no previous file with comments | « cc/test/layer_tree_test_common.cc ('k') | chrome/browser/chrome_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698