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

Unified Diff: ios/web/web_state/ui/crw_ui_simple_web_view_controller.mm

Issue 1171203004: Correct iOS build for latest Xcode beta. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nit Created 5 years, 6 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
« ios/web/shell/view_controller.mm ('K') | « ios/web/shell/view_controller.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/web_state/ui/crw_ui_simple_web_view_controller.mm
diff --git a/ios/web/web_state/ui/crw_ui_simple_web_view_controller.mm b/ios/web/web_state/ui/crw_ui_simple_web_view_controller.mm
index dd15a3d9949bea02cd2f5ba6759cb191c0001eae..b5d995b89cd76f1d4a2bd60c24613134892dec25 100644
--- a/ios/web/web_state/ui/crw_ui_simple_web_view_controller.mm
+++ b/ios/web/web_state/ui/crw_ui_simple_web_view_controller.mm
@@ -72,7 +72,7 @@
[_webView loadData:data
MIMEType:@"application/pdf"
textEncodingName:@"utf-8"
- baseURL:nil];
+ baseURL:[[NSURL alloc] initWithString:@""]];
sdefresne 2015/06/10 12:33:20 Need to be autoreleased otherwise you're leaking t
droger 2015/06/10 12:34:09 Simpler: [NSURL URLWithString:@""] We need to che
}
- (void)evaluateJavaScript:(NSString*)script
« ios/web/shell/view_controller.mm ('K') | « ios/web/shell/view_controller.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698