Bug 50975 - WebKit2: Leaks a WebView when opening/closing Web Inspector on Windows
Summary: WebKit2: Leaks a WebView when opening/closing Web Inspector on Windows
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC OS X 10.5
: P2 Normal
Assignee: Brian Weinstein
URL:
Keywords: InRadar, PlatformOnly
Depends on:
Blocks:
 
Reported: 2010-12-13 14:21 PST by Brian Weinstein
Modified: 2010-12-13 15:03 PST (History)
2 users (show)

See Also:


Attachments
[PATCH] Fix (2.87 KB, patch)
2010-12-13 14:27 PST, Brian Weinstein
aroben: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Weinstein 2010-12-13 14:21:19 PST
We leak a WebView when opening/closing the Web Inspector on Windows. The fix to this is to use RefPtr<WebView> instead of WebView* for our m_inspectorView member variable.
Comment 1 Brian Weinstein 2010-12-13 14:21:35 PST
<rdar://problem/8763501>
Comment 2 Brian Weinstein 2010-12-13 14:27:28 PST
Created attachment 76442 [details]
[PATCH] Fix

I will wait for https://bugs.webkit.org/show_bug.cgi?id=50898 to be reviewed and landed, then will land this to prevent more conflicts.
Comment 3 Brian Weinstein 2010-12-13 15:03:27 PST
Landed in r73970.