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

Unified Diff: ios/chrome/browser/ui/browser_view_controller.mm

Issue 2616633003: Fix crash in StaticHTMLNativeContent when deallocating WKWebView on iOS9 (Closed)
Patch Set: move setDelegate Created 3 years, 11 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/chrome/browser/ui/browser_view_controller.mm
diff --git a/ios/chrome/browser/ui/browser_view_controller.mm b/ios/chrome/browser/ui/browser_view_controller.mm
index 663810736aade11d923e3ecf04676f57e366edd0..dba26efc255093fb1f866eea27f75fb741f7dd64 100644
--- a/ios/chrome/browser/ui/browser_view_controller.mm
+++ b/ios/chrome/browser/ui/browser_view_controller.mm
@@ -2750,7 +2750,6 @@ class BrowserBookmarkModelBridge : public bookmarks::BookmarkModelObserver {
OverscrollActionsController* controller =
[[[OverscrollActionsController alloc]
initWithScrollView:[nativeContent scrollView]] autorelease];
- [[nativeContent scrollView] setDelegate:controller];
[controller setDelegate:self];
OverscrollStyle style = _isOffTheRecord
? OverscrollStyle::REGULAR_PAGE_INCOGNITO

Powered by Google App Engine
This is Rietveld 408576698