| Index: components/dom_distiller/core/url_utils_unittest.cc
|
| diff --git a/components/dom_distiller/core/url_utils_unittest.cc b/components/dom_distiller/core/url_utils_unittest.cc
|
| index 92059fd36a87232682964befe2cdf589ade854ff..5572a0c1ae35af71d87d873ab817b4d104ee17ec 100644
|
| --- a/components/dom_distiller/core/url_utils_unittest.cc
|
| +++ b/components/dom_distiller/core/url_utils_unittest.cc
|
| @@ -41,12 +41,12 @@ TEST(DomDistillerUrlUtilsTest, TestGetValueForKeyInUrlPathQuery) {
|
| EXPECT_EQ("foo", GetValueForKeyInUrlPathQuery(valid_url_two_keys, "key"));
|
| }
|
|
|
| -std::string ThroughDistiller(std::string url) {
|
| +std::string ThroughDistiller(const std::string& url) {
|
| return GetOriginalUrlFromDistillerUrl(
|
| GetDistillerViewUrlFromUrl(kDomDistillerScheme, GURL(url))).spec();
|
| }
|
|
|
| -std::string GetOriginalUrlFromDistillerUrl(std::string url) {
|
| +std::string GetOriginalUrlFromDistillerUrl(const std::string& url) {
|
| return GetOriginalUrlFromDistillerUrl(GURL(url)).spec();
|
| }
|
|
|
|
|