Index: components/test_runner/test_runner.h |
diff --git a/components/test_runner/test_runner.h b/components/test_runner/test_runner.h |
index b8f6284c647c9fc115f4e31938a89e6d1ab6f870..81a10255a7681bd188f654220d352b507b0671d4 100644 |
--- a/components/test_runner/test_runner.h |
+++ b/components/test_runner/test_runner.h |
@@ -87,7 +87,7 @@ class TestRunner : public WebTestRunner, |
void ClearDevToolsLocalStorage(); |
void setShouldDumpAsText(bool); |
void setShouldDumpAsMarkup(bool); |
- void setCustomTextOutput(std::string text); |
+ void setCustomTextOutput(const std::string& text); |
void setShouldGeneratePixelResults(bool); |
void setShouldDumpFrameLoadCallbacks(bool); |
void setShouldDumpPingLoaderCallbacks(bool); |
@@ -329,7 +329,7 @@ class TestRunner : public WebTestRunner, |
void SetXSSAuditorEnabled(bool enabled); |
void SetAllowUniversalAccessFromFileURLs(bool allow); |
void SetAllowFileAccessFromFileURLs(bool allow); |
- void OverridePreference(const std::string key, v8::Local<v8::Value> value); |
+ void OverridePreference(const std::string& key, v8::Local<v8::Value> value); |
// Modify accept_languages in RendererPreferences. |
void SetAcceptLanguages(const std::string& accept_languages); |