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

Unified Diff: content/shell/browser/shell_devtools_frontend.cc

Issue 2476493003: Remove FundamentalValue
Patch Set: Fix Created 4 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 | « content/renderer/java/gin_java_bridge_value_converter.cc ('k') | dbus/values_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/browser/shell_devtools_frontend.cc
diff --git a/content/shell/browser/shell_devtools_frontend.cc b/content/shell/browser/shell_devtools_frontend.cc
index 6a81d71c7957a13b3bef481d59302ee1e837e3e4..ff9a2d079cb314f18d84bfddf3f870715262d90d 100644
--- a/content/shell/browser/shell_devtools_frontend.cc
+++ b/content/shell/browser/shell_devtools_frontend.cc
@@ -79,7 +79,7 @@ int ResponseWriter::Write(net::IOBuffer* buffer,
if (!base::IsStringUTF8(chunk))
return num_bytes;
- base::FundamentalValue* id = new base::FundamentalValue(stream_id_);
+ base::Value* id = new base::Value(stream_id_);
base::StringValue* chunkValue = new base::StringValue(chunk);
content::BrowserThread::PostTask(
@@ -366,7 +366,7 @@ void ShellDevToolsFrontend::CallClientFunction(
void ShellDevToolsFrontend::SendMessageAck(int request_id,
const base::Value* arg) {
- base::FundamentalValue id_value(request_id);
+ base::Value id_value(request_id);
CallClientFunction("DevToolsAPI.embedderMessageAck",
&id_value, arg, nullptr);
}
« no previous file with comments | « content/renderer/java/gin_java_bridge_value_converter.cc ('k') | dbus/values_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698