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

Unified Diff: content/common/gpu/gpu_command_buffer_stub.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: fix platform specific stuff 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
Index: content/common/gpu/gpu_command_buffer_stub.cc
diff --git a/content/common/gpu/gpu_command_buffer_stub.cc b/content/common/gpu/gpu_command_buffer_stub.cc
index b026052bbbe3b55b417936acd33350d5b313b2f4..6602663a78175dd150f4680321f2bd4e0279d8d2 100644
--- a/content/common/gpu/gpu_command_buffer_stub.cc
+++ b/content/common/gpu/gpu_command_buffer_stub.cc
@@ -118,7 +118,7 @@ class DevToolsChannelData : public base::trace_event::ConvertableToTraceFormat {
void AppendAsTraceFormat(std::string* out) const override {
std::string tmp;
- base::JSONWriter::Write(value_.get(), &tmp);
+ base::JSONWriter::Write(*value_, &tmp);
*out += tmp;
}

Powered by Google App Engine
This is Rietveld 408576698