Bug 36791

Summary: Add assertions for instance proxy validity
Product: WebKit Reporter: Alexey Proskuryakov <ap>
Component: Plug-insAssignee: Alexey Proskuryakov <ap>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.6   
Attachments:
Description Flags
proposed patch darin: review+

Description Alexey Proskuryakov 2010-03-29 16:12:26 PDT
Add some assertions that the instance proxy hasn't been deleted. We sometimes keep a raw pointer to one across complicated function calls, relying on the caller to protect the reference.
Comment 1 Alexey Proskuryakov 2010-03-29 16:13:58 PDT
Created attachment 51979 [details]
proposed patch
Comment 2 WebKit Review Bot 2010-03-29 16:15:46 PDT
Attachment 51979 [details] did not pass style-queue:

Failed to run "WebKitTools/Scripts/check-webkit-style" exit_code: 1
WebKit/mac/Plugins/Hosted/NetscapePluginInstanceProxy.h:75:  More than one command on the same line  [whitespace/newline] [4]
WebKit/mac/Plugins/Hosted/NetscapePluginInstanceProxy.h:81:  More than one command on the same line  [whitespace/newline] [4]
WebKit/mac/Plugins/Hosted/NetscapePluginInstanceProxy.h:82:  More than one command on the same line  [whitespace/newline] [4]
Total errors found: 3 in 2 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 3 Alexey Proskuryakov 2010-03-30 10:10:03 PDT
Committed revision 56797.