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

Unified Diff: content/shell/renderer/test_runner/test_interfaces.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/shell/renderer/test_runner/test_interfaces.cc
diff --git a/content/shell/renderer/test_runner/test_interfaces.cc b/content/shell/renderer/test_runner/test_interfaces.cc
index a70ff059fcb989c3ab2db4e477c2d4fa6ea31e91..e9448010cfafdda4ec9427a26024bc766f6ef738 100644
--- a/content/shell/renderer/test_runner/test_interfaces.cc
+++ b/content/shell/renderer/test_runner/test_interfaces.cc
@@ -124,7 +124,7 @@ void TestInterfaces::ConfigureForTestWithURL(const blink::WebURL& test_url,
base::DictionaryValue settings;
settings.SetString("testPath", base::GetQuotedJSONString(spec));
std::string settings_string;
- base::JSONWriter::Write(&settings, &settings_string);
+ base::JSONWriter::Write(settings, &settings_string);
test_runner_->ShowDevTools(settings_string, std::string());
}
if (spec.find("/viewsource/") != std::string::npos) {

Powered by Google App Engine
This is Rietveld 408576698