summaryrefslogtreecommitdiffstats
path: root/chrome/common/extensions/extension_set.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/common/extensions/extension_set.cc')
-rw-r--r--chrome/common/extensions/extension_set.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/common/extensions/extension_set.cc b/chrome/common/extensions/extension_set.cc
index 84872b8..8b68fb6 100644
--- a/chrome/common/extensions/extension_set.cc
+++ b/chrome/common/extensions/extension_set.cc
@@ -77,11 +77,11 @@ std::string ExtensionSet::GetExtensionOrAppIDByURL(
DCHECK(!info.origin().isNull());
if (info.url().SchemeIs(extensions::kExtensionScheme))
- return info.origin().isUnique() ? "" : info.url().host();
+ return info.origin().isUnique() ? std::string() : info.url().host();
const Extension* extension = GetExtensionOrAppByURL(info);
if (!extension)
- return "";
+ return std::string();
return extension->id();
}