summaryrefslogtreecommitdiffstats
path: root/base/path_service.cc
diff options
context:
space:
mode:
Diffstat (limited to 'base/path_service.cc')
-rw-r--r--base/path_service.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/base/path_service.cc b/base/path_service.cc
index 56f254c..b47111f 100644
--- a/base/path_service.cc
+++ b/base/path_service.cc
@@ -165,7 +165,7 @@ bool PathService::Get(int key, FilePath* result) {
if (GetFromCache(key, result))
return true;
-
+
FilePath path;
// search providers for the requested path
@@ -175,15 +175,15 @@ bool PathService::Get(int key, FilePath* result) {
while (provider) {
if (provider->func(key, &path))
break;
- DCHECK(path.value().empty()) << "provider should not have modified path";
+ DCHECK(path.empty()) << "provider should not have modified path";
provider = provider->next;
}
- if (path.value().empty())
+ if (path.empty())
return false;
AddToCache(key, path);
-
+
*result = path;
return true;
}