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

Unified Diff: content/common/gpu/gpu_channel_manager.cc

Issue 1354363002: Cleanup: Pass std::string as const reference from content/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « content/common/gpu/gpu_channel_manager.h ('k') | content/public/browser/download_url_parameters.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/gpu_channel_manager.cc
diff --git a/content/common/gpu/gpu_channel_manager.cc b/content/common/gpu/gpu_channel_manager.cc
index 9a2be1dc80745ac9d9520864cb7c321ab75343c5..93e1556cd5ee8c4904e2b7062efb9e94196e1857 100644
--- a/content/common/gpu/gpu_channel_manager.cc
+++ b/content/common/gpu/gpu_channel_manager.cc
@@ -243,7 +243,7 @@ void GpuChannelManager::OnUpdateValueState(
it->second->HandleUpdateValueState(target, state);
}
-void GpuChannelManager::OnLoadedShader(std::string program_proto) {
+void GpuChannelManager::OnLoadedShader(const std::string& program_proto) {
if (program_cache())
program_cache()->LoadProgram(program_proto);
}
« no previous file with comments | « content/common/gpu/gpu_channel_manager.h ('k') | content/public/browser/download_url_parameters.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698