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

Unified Diff: ios/web_view/internal/cwv.mm

Issue 2747683002: Merge CWVWebsiteDataStore into CWVWebViewConfiguration. (Closed)
Patch Set: Apply review comments, rebase and merge. Created 3 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
« no previous file with comments | « ios/web_view/internal/BUILD.gn ('k') | ios/web_view/internal/cwv_web_view.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web_view/internal/cwv.mm
diff --git a/ios/web_view/internal/cwv.mm b/ios/web_view/internal/cwv.mm
index e24120c1a1985f14fbb336f437ad0236e121a6bb..e692bb47d1f31e0be78ef48673a8e5a6e41039b6 100644
--- a/ios/web_view/internal/cwv.mm
+++ b/ios/web_view/internal/cwv.mm
@@ -16,7 +16,6 @@
#import "ios/web_view/public/cwv_delegate.h"
#import "ios/web_view/public/cwv_web_view.h"
#import "ios/web_view/public/cwv_web_view_configuration.h"
-#import "ios/web_view/public/cwv_website_data_store.h"
#if !defined(__has_feature) || !__has_feature(objc_arc)
#error "This file requires ARC support."
@@ -50,9 +49,7 @@ CWV* g_criwv = nil;
+ (CWVWebView*)webViewWithFrame:(CGRect)frame {
CWVWebViewConfiguration* configuration =
- [[CWVWebViewConfiguration alloc] init];
- configuration.websiteDataStore = [CWVWebsiteDataStore defaultDataStore];
-
+ [CWVWebViewConfiguration defaultConfiguration];
return [[CWVWebView alloc] initWithFrame:frame configuration:configuration];
}
« no previous file with comments | « ios/web_view/internal/BUILD.gn ('k') | ios/web_view/internal/cwv_web_view.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698