https://bugs.webkit.org/show_bug.cgi?id=134699
<rdar://problem/
17581777>
Reviewed by Simon Fraser.
* UIProcess/API/Cocoa/WKWebView.mm:
(-[WKWebView initWithFrame:configuration:]):
Adoption is important!
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@170859
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2014-07-07 Tim Horton <timothy_horton@apple.com>
+
+ Nearly everything in the UIProcess "leaks" when WKWebView is torn down
+ https://bugs.webkit.org/show_bug.cgi?id=134699
+ <rdar://problem/17581777>
+
+ Reviewed by Simon Fraser.
+
+ * UIProcess/API/Cocoa/WKWebView.mm:
+ (-[WKWebView initWithFrame:configuration:]):
+ Adoption is important!
+
2014-07-07 Enrica Casucci <enrica@apple.com>
REGRESSION(iOS WK2): arrow keys movements don't work.
2014-07-07 Enrica Casucci <enrica@apple.com>
REGRESSION(iOS WK2): arrow keys movements don't work.
- _wkView = [[WKView alloc] initWithFrame:bounds context:context configuration:WTF::move(webPageConfiguration) webView:self];
+ _wkView = adoptNS([[WKView alloc] initWithFrame:bounds context:context configuration:WTF::move(webPageConfiguration) webView:self]);
[self addSubview:_wkView.get()];
_page = WebKit::toImpl([_wkView pageRef]);
[self addSubview:_wkView.get()];
_page = WebKit::toImpl([_wkView pageRef]);