Changeset 75439 in webkit
- Timestamp:
- Jan 10, 2011 2:47:22 PM (13 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r75437 r75439 1 2011-01-10 Leonid Ebril <leonid.ebril@nokia.com> 2 3 Reviewed by Kenneth Rohde Christiansen. 4 5 https://bugs.webkit.org/show_bug.cgi?id=51879 6 7 Set the PluginQuirkDontSetNullWindowHandleOnDestroy for Adobe Lite 8 plugin if Flash 10 or newer (for Symbian platform), setting a nulled 9 window handler on destroy crashes WebKit. 10 11 * plugins/symbian/PluginPackageSymbian.cpp: 12 (WebCore::PluginPackage::fetchInfo): 13 (WebCore::PluginPackage::determineQuirks): 14 1 15 2011-01-10 Martin Robinson <mrobinson@igalia.com> 2 16 -
trunk/Source/WebCore/plugins/symbian/PluginPackageSymbian.cpp
r58752 r75439 56 56 57 57 m_mimeToExtensions.add(mime[0], exts); // <MIME>,<ext1,ext2,ext3> 58 determineQuirks(mime[0]); 58 59 if (mime.size() > 2) 59 60 m_mimeToDescriptions.add(mime[0], mime[2]); // <MIME>,<Description> … … 62 63 unload(); 63 64 return true; 65 } 66 67 void PluginPackage::determineQuirks(const String& mimeType) 68 { 69 if (mimeType == "application/x-shockwave-flash") { 70 PlatformModuleVersion flashTenVersion(0x000a0000); 71 if (compareFileVersion(flashTenVersion) >= 0) { 72 // Flash 10 doesn't like having a 0 window handle. 73 m_quirks.add(PluginQuirkDontSetNullWindowHandleOnDestroy); 74 } 75 } 64 76 } 65 77
Note: See TracChangeset
for help on using the changeset viewer.