Index: chrome/browser/search/iframe_source_unittest.cc |
diff --git a/chrome/browser/search/iframe_source_unittest.cc b/chrome/browser/search/iframe_source_unittest.cc |
index 95077bb9f47dd1878092c5d2735b623341335063..559d208b7774eb20b786bd5c3f11ce13a907762d 100644 |
--- a/chrome/browser/search/iframe_source_unittest.cc |
+++ b/chrome/browser/search/iframe_source_unittest.cc |
@@ -86,8 +86,7 @@ class IframeSourceTest : public testing::Test { |
std::string response_string() { |
if (response_.get()) { |
- return std::string(reinterpret_cast<const char*>(response_->front()), |
- response_->size()); |
+ return std::string(response_->front_as<char>(), response_->size()); |
} |
return ""; |
} |