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

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: 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..1f377b3eccd9b50ac8ebf6c85cf39b582dbfa053 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::CreateUIWebView());
[CRWURLVerifyingProtocolHandler currentURLForWebView:dummyWebView
trustLevel:&trustLevel];
return [[CRWURLVerifyingProtocolHandlerData sharedInstance] preInitialized];

Powered by Google App Engine
This is Rietveld 408576698