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

Unified Diff: gpu/config/gpu_blacklist_unittest.cc

Issue 1349783006: Cleanup: Pass std::string as const reference if possible (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revert third_party changes Created 5 years, 3 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: gpu/config/gpu_blacklist_unittest.cc
diff --git a/gpu/config/gpu_blacklist_unittest.cc b/gpu/config/gpu_blacklist_unittest.cc
index 1a3deb6dc22fc8a4c40ff20881c6e40fa17d1323..1c7211e6d01f09d9580921198fcc54bd7695fbdf 100644
--- a/gpu/config/gpu_blacklist_unittest.cc
+++ b/gpu/config/gpu_blacklist_unittest.cc
@@ -23,8 +23,8 @@ class GpuBlacklistTest : public testing::Test {
return gpu_info_;
}
- void RunFeatureTest(
- const std::string feature_name, GpuFeatureType feature_type) {
+ void RunFeatureTest(const std::string& feature_name,
+ GpuFeatureType feature_type) {
const std::string json =
"{\n"
" \"name\": \"gpu blacklist\",\n"

Powered by Google App Engine
This is Rietveld 408576698