| Index: ios/web/webui/crw_web_ui_manager_unittest.mm
|
| diff --git a/ios/web/webui/crw_web_ui_manager_unittest.mm b/ios/web/webui/crw_web_ui_manager_unittest.mm
|
| index e5274d8541690757deffc152748c6c726ce37d40..b040edc9ae4b92b94a652358da02da40e5e91f9e 100644
|
| --- a/ios/web/webui/crw_web_ui_manager_unittest.mm
|
| +++ b/ios/web/webui/crw_web_ui_manager_unittest.mm
|
| @@ -79,7 +79,7 @@ class MockURLFetcherBlockAdapter : public URLFetcherBlockAdapter {
|
| NSData* favicon = [NSData
|
| dataWithContentsOfFile:base::SysUTF8ToNSString(favicon_path.value())];
|
| completion_handler_.get()(favicon, this);
|
| - } else if (url_.path().find(kMojoModuleName) != std::string::npos) {
|
| + } else if (url_.path().find(kMojoModuleName) != base::StringPiece::npos) {
|
| completion_handler_.get()(
|
| [kMojoModule dataUsingEncoding:NSUTF8StringEncoding], this);
|
|
|
|
|