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

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

Issue 2750293002: Ensure framework path is set before any web objects are created. (Closed)
Patch Set: 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/web_view_web_main_delegate.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web_view/internal/web_view_web_main_parts.mm
diff --git a/ios/web_view/internal/web_view_web_main_parts.mm b/ios/web_view/internal/web_view_web_main_parts.mm
index 651d35766b3d5e93b8bd3e1174de9e1dcce2a538..7cb74ebad7f490c506fcca8f5fb374d9a9a88c55 100644
--- a/ios/web_view/internal/web_view_web_main_parts.mm
+++ b/ios/web_view/internal/web_view_web_main_parts.mm
@@ -7,13 +7,11 @@
#import <Foundation/Foundation.h>
#include "base/base_paths.h"
-#import "base/mac/bundle_locations.h"
#include "base/memory/ptr_util.h"
#include "base/path_service.h"
#include "components/translate/core/browser/translate_download_manager.h"
#include "ios/web_view/internal/web_view_browser_state.h"
#import "ios/web_view/public/cwv_delegate.h"
-#import "ios/web_view/public/cwv_web_view.h"
#include "ui/base/l10n/l10n_util_mac.h"
#include "ui/base/resource/resource_bundle.h"
@@ -30,9 +28,6 @@ WebViewWebMainParts::WebViewWebMainParts(id<CWVDelegate> delegate) {
WebViewWebMainParts::~WebViewWebMainParts() = default;
void WebViewWebMainParts::PreMainMessageLoopRun() {
- base::mac::SetOverrideFrameworkBundle(
- [NSBundle bundleForClass:[CWVWebView class]]);
-
// Initialize resources.
l10n_util::OverrideLocaleWithCocoaLocale();
ui::ResourceBundle::InitSharedInstanceWithLocale(
« no previous file with comments | « ios/web_view/internal/web_view_web_main_delegate.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698