Index: chrome/browser/safe_browsing/filter_false_positive_perftest.cc |
=================================================================== |
--- chrome/browser/safe_browsing/filter_false_positive_perftest.cc (revision 114929) |
+++ chrome/browser/safe_browsing/filter_false_positive_perftest.cc (working copy) |
@@ -64,7 +64,6 @@ |
#include "base/path_service.h" |
#include "base/rand_util.h" |
#include "base/string_number_conversions.h" |
-#include "base/string_piece.h" |
#include "base/string_util.h" |
#include "base/time.h" |
#include "chrome/browser/safe_browsing/bloom_filter.h" |
@@ -243,8 +242,7 @@ |
if (use_weights) { |
std::string::size_type pos = url.find_last_of(","); |
if (pos != std::string::npos) { |
- base::StringToInt(base::StringPiece(url.begin() + pos + 1, url.end()), |
- &weight); |
+ base::StringToInt(url.begin() + pos + 1, url.end(), &weight); |
url = url.substr(0, pos); |
} |
} |