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

Unified Diff: chrome/browser/tab_contents/web_contents_unittest.cc

Issue 7647026: base: Add three helper functions to Values API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix a typo Ceate -> Create Created 9 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: chrome/browser/tab_contents/web_contents_unittest.cc
diff --git a/chrome/browser/tab_contents/web_contents_unittest.cc b/chrome/browser/tab_contents/web_contents_unittest.cc
index 8e773174b1240a078f5ca389ba87b1b2ae79f61a..f50c503931b9770283b062f2c0a5c25c5f337138 100644
--- a/chrome/browser/tab_contents/web_contents_unittest.cc
+++ b/chrome/browser/tab_contents/web_contents_unittest.cc
@@ -186,17 +186,16 @@ class TabContentsTest : public RenderViewHostTestHarness {
// Set some (WebKit) user preferences.
TestingPrefService* pref_services = profile->GetTestingPrefService();
#if defined(TOOLKIT_USES_GTK)
- pref_services->SetUserPref(prefs::kUsesSystemTheme,
- Value::CreateBooleanValue(false));
+ pref_services->SetUserPref(prefs::kUsesSystemTheme, base::FalseValue());
#endif
pref_services->SetUserPref(prefs::kDefaultCharset,
Value::CreateStringValue("utf8"));
pref_services->SetUserPref(prefs::kWebKitDefaultFontSize,
Value::CreateIntegerValue(20));
pref_services->SetUserPref(prefs::kWebKitTextAreasAreResizable,
- Value::CreateBooleanValue(false));
+ base::FalseValue());
pref_services->SetUserPref(prefs::kWebKitUsesUniversalDetector,
- Value::CreateBooleanValue(true));
+ base::TrueValue());
pref_services->SetUserPref("webkit.webprefs.foo",
Value::CreateStringValue("bar"));
« no previous file with comments | « chrome/browser/sync/sync_ui_util.cc ('k') | chrome/browser/ui/search_engines/keyword_editor_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698