projects
/
platform
/
framework
/
web
/
crosswalk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git]
/
src
/
chrome
/
browser
/
search
/
iframe_source_unittest.cc
diff --git
a/src/chrome/browser/search/iframe_source_unittest.cc
b/src/chrome/browser/search/iframe_source_unittest.cc
index
95077bb
..
559d208
100644
(file)
--- a/
src/chrome/browser/search/iframe_source_unittest.cc
+++ b/
src/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 "";
}