Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(372)

Unified Diff: ios/web/net/crw_url_verifying_protocol_handler.mm

Issue 1799843002: Removing StaticFileWebView vending methods. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: GetBS() Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ios/web/net/crw_url_verifying_protocol_handler.mm
diff --git a/ios/web/net/crw_url_verifying_protocol_handler.mm b/ios/web/net/crw_url_verifying_protocol_handler.mm
index 492bef880a6b0ce7110e2f95d68787d5aaca78f5..67cfbe5dd070a3889d38ed4e90f6a51af7e3d24e 100644
--- a/ios/web/net/crw_url_verifying_protocol_handler.mm
+++ b/ios/web/net/crw_url_verifying_protocol_handler.mm
@@ -249,7 +249,7 @@ const char kCheckRelativeURL[] =
web::URLVerificationTrustLevel trustLevel;
web::WebClient* web_client = web::GetWebClient();
DCHECK(web_client);
- base::scoped_nsobject<UIWebView> dummyWebView(web::CreateStaticFileWebView());
+ base::scoped_nsobject<UIWebView> dummyWebView(web::CreateWebView(CGRectZero));
[CRWURLVerifyingProtocolHandler currentURLForWebView:dummyWebView
trustLevel:&trustLevel];
return [[CRWURLVerifyingProtocolHandlerData sharedInstance] preInitialized];
« no previous file with comments | « ios/web/interstitials/html_web_interstitial_impl.mm ('k') | ios/web/web_state/web_view_internal_creation_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698