Changeset 80523 in webkit
- Timestamp:
- Mar 7, 2011 6:32:53 PM (13 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r80479 r80523 1 2011-03-07 Damian Kaleta <dkaleta@apple.com> 2 3 Reviewed by Anders Carlsson. 4 5 QuickTime plugin should opt in to a 32-bit non-executable heap 6 https://bugs.webkit.org/show_bug.cgi?id=55704 7 <rdar://problem/8105706> 8 9 * UIProcess/Plugins/PluginProcessProxy.cpp: 10 (WebKit::pluginNeedsExecutableHeap): Decides per plugin if it should opt-in to a 32-bit non-executable heap. 11 By default it should opt-out. 12 (WebKit::PluginProcessProxy::PluginProcessProxy): 13 1 14 2011-03-07 Sam Weinig <sam@webkit.org> 2 15 -
trunk/Source/WebKit2/UIProcess/Plugins/PluginProcessProxy.cpp
r78676 r80523 39 39 40 40 namespace WebKit { 41 42 #if PLATFORM(MAC) 43 static bool pluginNeedsExecutableHeap(const PluginInfoStore::Plugin& pluginInfo) 44 { 45 if (pluginInfo.bundleIdentifier == "com.apple.QuickTime Plugin.plugin") 46 return false; 47 48 return true; 49 } 50 #endif 41 51 42 52 PassOwnPtr<PluginProcessProxy> PluginProcessProxy::create(PluginProcessManager* PluginProcessManager, const PluginInfoStore::Plugin& pluginInfo) … … 54 64 #if PLATFORM(MAC) 55 65 launchOptions.architecture = pluginInfo.pluginArchitecture; 56 57 // FIXME: This shouldn't be true for all plug-ins. 58 launchOptions.executableHeap = true; 66 launchOptions.executableHeap = pluginNeedsExecutableHeap(pluginInfo); 59 67 #endif 60 68
Note: See TracChangeset
for help on using the changeset viewer.