diff options
author | Grace Kloba <klobag@google.com> | 2010-04-01 00:18:59 -0700 |
---|---|---|
committer | Grace Kloba <klobag@google.com> | 2010-04-01 00:18:59 -0700 |
commit | 72dc094b5140ab6a3cd9e4984d566b8c788f5e1f (patch) | |
tree | 619068149eb01880975c2e0ca0bc5c2ceb57be8e /WebCore/storage | |
parent | a622a48d6cc2bea33d2467de9d31feb1b03b03eb (diff) | |
download | external_webkit-72dc094b5140ab6a3cd9e4984d566b8c788f5e1f.zip external_webkit-72dc094b5140ab6a3cd9e4984d566b8c788f5e1f.tar.gz external_webkit-72dc094b5140ab6a3cd9e4984d566b8c788f5e1f.tar.bz2 |
If "widget" is already existed in the HashMap when
createScriptInstanceForWidget(widget) is called,
we need to release the reference of the matching
npObject to avoid leak.
HTMLPlugInElement::getInstance() only calls
createScriptInstanceForWidget(widget) once. But
HTMLEmbedElement is using its closest ancestor who
has objectTag to get the widget. So the same widget
can exist in the HashMap if both <object> and its
child <embed>'s getInstance() are called.
Fix http://b/issue?id=2553266
Diffstat (limited to 'WebCore/storage')
0 files changed, 0 insertions, 0 deletions