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

Unified Diff: cc/test/test_common.h

Issue 11186039: Move CC switches to cc/switches.h. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Add cc to DEPS in chrome/ and content/ Created 8 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
Index: cc/test/test_common.h
diff --git a/cc/test/test_common.h b/cc/test/test_common.h
index c748744750b007ba6d015041a6bbb9f1edf686b3..a0fce2cf7a01d7fc5150c0b2eb396bdea41cb82e 100644
--- a/cc/test/test_common.h
+++ b/cc/test/test_common.h
@@ -13,8 +13,8 @@ namespace WebKitTests {
// of this class to ensure that you start and end with a clean slate.
class CCScopedSettings {
public:
- CCScopedSettings() { cc::CCSettings::reset(); }
- ~CCScopedSettings() { cc::CCSettings::reset(); }
+ CCScopedSettings() { cc::CCSettings::resetForTest(); }
+ ~CCScopedSettings() { cc::CCSettings::resetForTest(); }
};
} // namespace WebKitTests

Powered by Google App Engine
This is Rietveld 408576698