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

Unified Diff: net/http/http_server_properties_manager_unittest.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: net/http/http_server_properties_manager_unittest.cc
diff --git a/net/http/http_server_properties_manager_unittest.cc b/net/http/http_server_properties_manager_unittest.cc
index 55dc7b8cc04a41559b4628ed5d6c28b15ca611c0..018321ce3b2148871885dca61fa67645d4a3064e 100644
--- a/net/http/http_server_properties_manager_unittest.cc
+++ b/net/http/http_server_properties_manager_unittest.cc
@@ -702,7 +702,7 @@ TEST_F(HttpServerPropertiesManagerTest, UpdateCacheWithPrefs) {
ASSERT_NE(nullptr, http_server_properties);
std::string preferences_json;
EXPECT_TRUE(
- base::JSONWriter::Write(http_server_properties, &preferences_json));
+ base::JSONWriter::Write(*http_server_properties, &preferences_json));
EXPECT_EQ(expected_json, preferences_json);
}

Powered by Google App Engine
This is Rietveld 408576698