Commit 7dd3a0e9 authored by weinig@apple.com's avatar weinig@apple.com
Browse files

Fix crashing API tests.

* UIProcess/API/Cocoa/WKBrowsingContextController.mm:
(-[WKBrowsingContextController dealloc]):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159880 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent c6df4a5d
2013-11-29 Sam Weinig <sam@webkit.org>
Fix crashing API tests.
* UIProcess/API/Cocoa/WKBrowsingContextController.mm:
(-[WKBrowsingContextController dealloc]):
2013-11-29 Sam Weinig <sam@webkit.org> 2013-11-29 Sam Weinig <sam@webkit.org>
Fix some style boo-boos. Fix some style boo-boos.
......
...@@ -118,6 +118,7 @@ static NSString * const frameErrorKey = @"WKBrowsingContextFrameErrorKey"; ...@@ -118,6 +118,7 @@ static NSString * const frameErrorKey = @"WKBrowsingContextFrameErrorKey";
- (void)dealloc - (void)dealloc
{ {
reinterpret_cast<WebPageProxy*>(&_page)->pageLoadState().removeObserver(*_pageLoadStateObserver);
reinterpret_cast<WebPageProxy*>(&_page)->~WebPageProxy(); reinterpret_cast<WebPageProxy*>(&_page)->~WebPageProxy();
[super dealloc]; [super dealloc];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment