Changeset 106701 in webkit
- Timestamp:
- Feb 3, 2012, 3:47:55 PM (15 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 3 edited
-
ChangeLog (modified) (1 diff)
-
PluginProcess/PluginProcess.cpp (modified) (2 diffs)
-
Shared/Plugins/PluginQuirks.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r106678 r106701 1 2012-02-03 Alexey Proskuryakov <ap@apple.com> 2 3 [Mac WK2] Use a minimally invasive way to fake plug-in process name 4 https://bugs.webkit.org/show_bug.cgi?id=77682 5 6 Reviewed by Darin Adler. 7 8 * PluginProcess/PluginProcess.cpp: (WebKit::PluginProcess::netscapePluginModule): 9 Only change the name as it's seen from within the process. 10 11 * Shared/Plugins/PluginQuirks.h: Fixed a typo. 12 1 13 2012-02-03 Beth Dakin <bdakin@apple.com> 2 14 -
trunk/Source/WebKit2/PluginProcess/PluginProcess.cpp
r105475 r106701 39 39 #include <WebCore/RunLoop.h> 40 40 41 #if PLATFORM(MAC) 42 #include <crt_externs.h> 43 #endif 44 41 45 #if USE(UNIX_DOMAIN_SOCKETS) 42 46 #include <errno.h> … … 116 120 if (m_pluginModule) { 117 121 if (m_pluginModule->pluginQuirks().contains(PluginQuirks::PrognameShouldBeWebKitPluginHost)) 118 setprogname("WebKitPluginHost");122 *const_cast<const char**>(_NSGetProgname()) = "WebKitPluginHost"; 119 123 } 120 124 #endif -
trunk/Source/WebKit2/Shared/Plugins/PluginQuirks.h
r100725 r106701 34 34 // Mac specific quirks: 35 35 #if PLUGIN_ARCHITECTURE(MAC) 36 // The plug-in wants the call to getprog ame() to return "WebKitPluginHost".36 // The plug-in wants the call to getprogname() to return "WebKitPluginHost". 37 37 // Adobe Flash Will not handle key down events otherwise. 38 38 PrognameShouldBeWebKitPluginHost,
Note:
See TracChangeset
for help on using the changeset viewer.