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

Unified Diff: cc/output/shader.h

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
« no previous file with comments | « base/logging.h ('k') | cc/output/shader.cc » ('j') | url/gurl.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/shader.h
diff --git a/cc/output/shader.h b/cc/output/shader.h
index 326eb67b534fc9c39566d154ca4bc8ee2852ab8a..448ff07a8b28aa6958eefb2f1777ef425c28fb85 100644
--- a/cc/output/shader.h
+++ b/cc/output/shader.h
@@ -371,7 +371,7 @@ class FragmentTexBlendMode {
protected:
FragmentTexBlendMode();
- std::string SetBlendModeFunctions(std::string shader_string) const;
+ std::string SetBlendModeFunctions(const std::string& shader_string) const;
int backdrop_location_;
int original_backdrop_location_;
« no previous file with comments | « base/logging.h ('k') | cc/output/shader.cc » ('j') | url/gurl.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698