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

Unified Diff: chrome/browser/debugger/devtools_window.cc

Issue 7649006: more changes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix another typo 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/debugger/devtools_window.cc
diff --git a/chrome/browser/debugger/devtools_window.cc b/chrome/browser/debugger/devtools_window.cc
index 52e2d13b0b5db7e4c8206161300fac134c64a8e1..e4ea6aade0515470b2933d43624d562d20383c55 100644
--- a/chrome/browser/debugger/devtools_window.cc
+++ b/chrome/browser/debugger/devtools_window.cc
@@ -373,9 +373,9 @@ void DevToolsWindow::UpdateFrontendAttachedState() {
void DevToolsWindow::AddDevToolsExtensionsToClient() {
if (inspected_tab_) {
- base::FundamentalValue tabId(
+ base::NumberValue tab_id(
inspected_tab_->restore_tab_helper()->session_id().id());
- CallClientFunction(ASCIIToUTF16("WebInspector.setInspectedTabId"), tabId);
+ CallClientFunction(ASCIIToUTF16("WebInspector.setInspectedTabId"), tab_id);
}
ListValue results;
const ExtensionService* extension_service =
@@ -391,7 +391,7 @@ void DevToolsWindow::AddDevToolsExtensionsToClient() {
continue;
DictionaryValue* extension_info = new DictionaryValue();
extension_info->Set("startPage",
- new StringValue((*extension)->devtools_url().spec()));
+ base::StringValue::New((*extension)->devtools_url().spec()));
results.Append(extension_info);
}
CallClientFunction(ASCIIToUTF16("WebInspector.addExtensions"), results);
« no previous file with comments | « chrome/browser/debugger/devtools_remote_service.cc ('k') | chrome/browser/extensions/convert_user_script.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698