summaryrefslogtreecommitdiffstats
path: root/content/gpu/gpu_info_collector.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/gpu/gpu_info_collector.cc')
-rw-r--r--content/gpu/gpu_info_collector.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/content/gpu/gpu_info_collector.cc b/content/gpu/gpu_info_collector.cc
index 86fb0c5..d3f5867 100644
--- a/content/gpu/gpu_info_collector.cc
+++ b/content/gpu/gpu_info_collector.cc
@@ -53,7 +53,7 @@ std::string GetGLString(unsigned int pname) {
reinterpret_cast<const char*>(glGetString(pname));
if (gl_string)
return std::string(gl_string);
- return "";
+ return std::string();
}
// Return a version string in the format of "major.minor".
@@ -71,7 +71,7 @@ std::string GetVersionFromString(const std::string& version_string) {
if (pieces.size() >= 2)
return pieces[0] + "." + pieces[1];
}
- return "";
+ return std::string();
}
} // namespace anonymous