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

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

Issue 2666093002: Remove base::FundamentalValue (Closed)
Patch Set: Rebase Created 3 years, 10 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: 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 ac02b03940f8e6bd8bda944f6edaf8500a9c495a..74ac05da33b68fbed068a8a99fdd5248f51572d0 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(
@@ -369,7 +369,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') | content/shell/test_runner/tracked_dictionary.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698