Summary: | REGRESSION (r99448) Zero-sized plug-ins no longer get an NPP_SetWindow call | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Brady Eidson <beidson> | ||||
Component: | WebKit2 | Assignee: | Brady Eidson <beidson> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | Keywords: | InRadar | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Attachments: |
|
Description
Brady Eidson
2012-06-01 12:07:09 PDT
Created attachment 145354 [details]
Patch v1
Comment on attachment 145354 [details] Patch v1 View in context: https://bugs.webkit.org/attachment.cgi?id=145354&action=review > Source/WebKit2/WebProcess/Plugins/Netscape/NetscapePlugin.cpp:715 > + m_hasCalledSetWindow = true; I think you should set this to true in callSetWindow, since it can be called from platformPaint as well. (In reply to comment #2) > (From update of attachment 145354 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=145354&action=review > > > Source/WebKit2/WebProcess/Plugins/Netscape/NetscapePlugin.cpp:715 > > + m_hasCalledSetWindow = true; > > I think you should set this to true in callSetWindow, since it can be called from platformPaint as well. I was trying to keep it local to where it was used, having done an (apparently faulty) search for other callers and coming up empty. Makes sense, and will do in a followup. Followed up in http://trac.webkit.org/changeset/119261 |