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

Unified Diff: pdf/out_of_process_instance.cc

Issue 1131113004: Convert JsonWriter::Write to taking a const ref for the in-param (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: another rebase Created 5 years, 7 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
« no previous file with comments | « net/tools/net_watcher/net_watcher.cc ('k') | pdf/pdfium/pdfium_engine.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pdf/out_of_process_instance.cc
diff --git a/pdf/out_of_process_instance.cc b/pdf/out_of_process_instance.cc
index 8c240a60b63d9eba24c98f6c6bb8b0f945755b56..d8188ad4edb803dfc1ac2a016af4aa7eff6d5b79 100644
--- a/pdf/out_of_process_instance.cc
+++ b/pdf/out_of_process_instance.cc
@@ -469,7 +469,7 @@ void OutOfProcessInstance::HandleMessage(const pp::Var& message) {
engine_->HasPermission(PDFEngine::PERMISSION_COPY_ACCESSIBLE);
node.SetBoolean(kAccessibleCopyable, has_permissions);
std::string json;
- base::JSONWriter::Write(&node, &json);
+ base::JSONWriter::Write(node, &json);
reply.Set(pp::Var(kJSAccessibilityJSON), pp::Var(json));
}
PostMessage(reply);
« no previous file with comments | « net/tools/net_watcher/net_watcher.cc ('k') | pdf/pdfium/pdfium_engine.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698