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

Unified Diff: content/browser/gpu/gpu_data_manager_impl.cc

Issue 13145003: Rewrite std::string("") to std::string(), Linux edition. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Ugh Created 7 years, 8 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: content/browser/gpu/gpu_data_manager_impl.cc
diff --git a/content/browser/gpu/gpu_data_manager_impl.cc b/content/browser/gpu/gpu_data_manager_impl.cc
index 675222b4d37594527f1e422aafa38266bbd16522..467cc216b9334d57a774465456a383804b4b6ef5 100644
--- a/content/browser/gpu/gpu_data_manager_impl.cc
+++ b/content/browser/gpu/gpu_data_manager_impl.cc
@@ -117,7 +117,7 @@ void GpuDataManagerImpl::InitializeForTesting(
// This function is for testing only, so disable histograms.
update_histograms_ = false;
- InitializeImpl(gpu_blacklist_json, "", "", gpu_info);
+ InitializeImpl(gpu_blacklist_json, std::string(), std::string(), gpu_info);
}
bool GpuDataManagerImpl::IsFeatureBlacklisted(int feature) const {
@@ -350,7 +350,7 @@ void GpuDataManagerImpl::UpdateGpuInfo(const GPUInfo& gpu_info) {
if (gpu_blacklist_.get()) {
std::set<int> features = gpu_blacklist_->MakeDecision(
- GpuControlList::kOsAny, "", my_gpu_info);
+ GpuControlList::kOsAny, std::string(), my_gpu_info);
if (update_histograms_)
UpdateStats(gpu_blacklist_.get(), features);
@@ -358,7 +358,7 @@ void GpuDataManagerImpl::UpdateGpuInfo(const GPUInfo& gpu_info) {
}
if (gpu_switching_list_.get()) {
std::set<int> option = gpu_switching_list_->MakeDecision(
- GpuControlList::kOsAny, "", my_gpu_info);
+ GpuControlList::kOsAny, std::string(), my_gpu_info);
if (option.size() == 1) {
// Blacklist decision should not overwrite commandline switch from users.
CommandLine* command_line = CommandLine::ForCurrentProcess();
@@ -368,7 +368,7 @@ void GpuDataManagerImpl::UpdateGpuInfo(const GPUInfo& gpu_info) {
}
if (gpu_driver_bug_list_.get())
gpu_driver_bugs_ = gpu_driver_bug_list_->MakeDecision(
- GpuControlList::kOsAny, "", my_gpu_info);
+ GpuControlList::kOsAny, std::string(), my_gpu_info);
// We have to update GpuFeatureType before notify all the observers.
NotifyGpuInfoUpdate();
« no previous file with comments | « content/browser/gpu/gpu_control_list_version_info_unittest.cc ('k') | content/browser/gpu/gpu_memory_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698