| Index: chrome/browser/search/iframe_source.cc
|
| diff --git a/chrome/browser/search/iframe_source.cc b/chrome/browser/search/iframe_source.cc
|
| index e9dd3b646de7f515f0182e6581d29348197fa362..925c97ed2c84107cfccc2c2ce7f9cf48c03f2730 100644
|
| --- a/chrome/browser/search/iframe_source.cc
|
| +++ b/chrome/browser/search/iframe_source.cc
|
| @@ -40,9 +40,8 @@ bool IframeSource::ShouldServiceRequest(
|
| const net::URLRequest* request) const {
|
| const std::string& path = request->url().path();
|
| return InstantIOContext::ShouldServiceRequest(request) &&
|
| - request->url().SchemeIs(chrome::kChromeSearchScheme) &&
|
| - request->url().host() == GetSource() &&
|
| - ServesPath(path);
|
| + request->url().SchemeIs(chrome::kChromeSearchScheme) &&
|
| + request->url().host_piece() == GetSource() && ServesPath(path);
|
| }
|
|
|
| bool IframeSource::ShouldDenyXFrameOptions() const {
|
|
|