summaryrefslogtreecommitdiffstats
path: root/chrome/browser/profiles/profile_info_cache.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/profiles/profile_info_cache.cc')
-rw-r--r--chrome/browser/profiles/profile_info_cache.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/chrome/browser/profiles/profile_info_cache.cc b/chrome/browser/profiles/profile_info_cache.cc
index 4b11f54..d71e788 100644
--- a/chrome/browser/profiles/profile_info_cache.cc
+++ b/chrome/browser/profiles/profile_info_cache.cc
@@ -13,7 +13,6 @@
#include "base/rand_util.h"
#include "base/stl_util.h"
#include "base/string_number_conversions.h"
-#include "base/string_piece.h"
#include "base/stringprintf.h"
#include "base/utf_string_conversions.h"
#include "base/values.h"
@@ -682,9 +681,8 @@ bool ProfileInfoCache::IsDefaultAvatarIconUrl(const std::string& url,
return false;
int int_value = -1;
- if (base::StringToInt(base::StringPiece(url.begin() +
- strlen(kDefaultUrlPrefix),
- url.end()),
+ if (base::StringToInt(url.begin() + strlen(kDefaultUrlPrefix),
+ url.end(),
&int_value)) {
if (int_value < 0 ||
int_value >= static_cast<int>(kDefaultAvatarIconsCount))