Changeset 166373 in webkit
- Timestamp:
- Mar 27, 2014 3:28:04 PM (10 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r166371 r166373 1 2014-03-27 Simon Fraser <simon.fraser@apple.com> 2 3 Don't leak the WKBrowsingContextController 4 https://bugs.webkit.org/show_bug.cgi?id=130815 5 6 Reviewed by Tim Horton. 7 8 Use adoptNS to avoid leaking the WKBrowsingContextController. 9 10 * UIProcess/ios/WKContentView.mm: 11 (-[WKContentView browsingContextController]): 12 1 13 2014-03-27 Joseph Pecoraro <pecoraro@apple.com> 2 14 -
trunk/Source/WebKit2/UIProcess/ios/WKContentView.mm
r166333 r166373 237 237 { 238 238 if (!_browsingContextController) 239 _browsingContextController = [[WKBrowsingContextController alloc] _initWithPageRef:toAPI(_page.get())];239 _browsingContextController = adoptNS([[WKBrowsingContextController alloc] _initWithPageRef:toAPI(_page.get())]); 240 240 241 241 return _browsingContextController.get();
Note: See TracChangeset
for help on using the changeset viewer.