diff options
author | viettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-17 16:24:25 +0000 |
---|---|---|
committer | viettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-17 16:24:25 +0000 |
commit | 99922661cbee0b313a07115912316f93b2cd5c95 (patch) | |
tree | 0036de373dc2d878d2a3f2280054b1477c358bc5 /chrome/browser/debugger | |
parent | dbba57ffa3c2f14bf5a3b16a47307188539df0b6 (diff) | |
download | chromium_src-99922661cbee0b313a07115912316f93b2cd5c95.zip chromium_src-99922661cbee0b313a07115912316f93b2cd5c95.tar.gz chromium_src-99922661cbee0b313a07115912316f93b2cd5c95.tar.bz2 |
Remove remaining deprecated wstring methods from base/values.{cc,h}.
BUG=23581
TEST=builds and passes tests
Review URL: http://codereview.chromium.org/3109025
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56362 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/debugger')
-rw-r--r-- | chrome/browser/debugger/devtools_window.cc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/chrome/browser/debugger/devtools_window.cc b/chrome/browser/debugger/devtools_window.cc index 400951f..a2334e7 100644 --- a/chrome/browser/debugger/devtools_window.cc +++ b/chrome/browser/debugger/devtools_window.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2009 The Chromium Authors. All rights reserved. +// Copyright (c) 2010 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. @@ -212,12 +212,12 @@ void DevToolsWindow::CreateDevToolsBrowser() { const DictionaryValue* wp_pref = prefs->GetDictionary(wp_key.c_str()); if (!wp_pref) { DictionaryValue* defaults = prefs->GetMutableDictionary(wp_key.c_str()); - defaults->SetInteger(L"left", 100); - defaults->SetInteger(L"top", 100); - defaults->SetInteger(L"right", 740); - defaults->SetInteger(L"bottom", 740); - defaults->SetBoolean(L"maximized", false); - defaults->SetBoolean(L"always_on_top", false); + defaults->SetInteger("left", 100); + defaults->SetInteger("top", 100); + defaults->SetInteger("right", 740); + defaults->SetInteger("bottom", 740); + defaults->SetBoolean("maximized", false); + defaults->SetBoolean("always_on_top", false); } browser_ = Browser::CreateForDevTools(profile_); @@ -259,7 +259,7 @@ void DevToolsWindow::AddDevToolsExtensionsToClient() { if ((*extension)->devtools_url().is_empty()) continue; DictionaryValue* extension_info = new DictionaryValue(); - extension_info->Set(L"startPage", + extension_info->Set("startPage", new StringValue((*extension)->devtools_url().spec())); results.Append(extension_info); } |