Index: chrome/test/perf/page_cycler_test.cc |
=================================================================== |
--- chrome/test/perf/page_cycler_test.cc (revision 114929) |
+++ chrome/test/perf/page_cycler_test.cc (working copy) |
@@ -9,7 +9,6 @@ |
#include "base/path_service.h" |
#include "base/process_util.h" |
#include "base/string_number_conversions.h" |
-#include "base/string_piece.h" |
#include "base/sys_string_conversions.h" |
#include "base/test/test_timeouts.h" |
#include "base/utf_string_conversions.h" |
@@ -332,8 +331,8 @@ |
new_pos = timings.find(',', pos); |
if (new_pos == std::string::npos) |
new_pos = timings.length(); |
- if (!base::StringToInt(base::StringPiece(timings.begin() + pos, |
- timings.begin() + new_pos), |
+ if (!base::StringToInt(timings.begin() + pos, |
+ timings.begin() + new_pos, |
&time)) { |
LOG(ERROR) << "Invalid time reported: " << time_str; |
return true; |