Changeset 142502 in webkit
- Timestamp:
- Feb 11, 2013 1:26:00 PM (11 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r142499 r142502 1 2013-02-11 Anders Carlsson <andersca@apple.com> 2 3 The plug-in process connection manager doesn't need to be heap allocated 4 https://bugs.webkit.org/show_bug.cgi?id=109479 5 6 Reviewed by Andreas Kling. 7 8 * WebProcess/WebProcess.cpp: 9 (WebKit::WebProcess::WebProcess): 10 (WebKit::WebProcess::pluginProcessConnectionManager): 11 (WebKit::WebProcess::pluginProcessCrashed): 12 * WebProcess/WebProcess.h: 13 (WebKit): 14 (WebProcess): 15 1 16 2013-02-11 Tony Chang <tony@chromium.org> 2 17 -
trunk/Source/WebKit2/WebProcess/WebProcess.cpp
r142339 r142502 163 163 , m_webResourceLoadScheduler(new WebResourceLoadScheduler) 164 164 #endif 165 #if ENABLE(PLUGIN_PROCESS)166 , m_pluginProcessConnectionManager(new PluginProcessConnectionManager)167 #endif168 165 #if USE(SOUP) 169 166 , m_soupRequestManager(this) … … 446 443 PluginProcessConnectionManager& WebProcess::pluginProcessConnectionManager() 447 444 { 448 return *m_pluginProcessConnectionManager;445 return m_pluginProcessConnectionManager; 449 446 } 450 447 #endif … … 985 982 void WebProcess::pluginProcessCrashed(CoreIPC::Connection*, const String& pluginPath, uint32_t processType) 986 983 { 987 m_pluginProcessConnectionManager ->pluginProcessCrashed(pluginPath, static_cast<PluginProcess::Type>(processType));984 m_pluginProcessConnectionManager.pluginProcessCrashed(pluginPath, static_cast<PluginProcess::Type>(processType)); 988 985 } 989 986 #endif -
trunk/Source/WebKit2/WebProcess/WebProcess.h
r142339 r142502 31 31 #include "DownloadManager.h" 32 32 #include "EventDispatcher.h" 33 #include "PluginProcessConnectionManager.h" 33 34 #include "ResourceCachesToClear.h" 34 35 #include "SandboxExtension.h" … … 91 92 #if ENABLE(NETWORK_PROCESS) 92 93 class WebResourceLoadScheduler; 93 #endif94 95 #if ENABLE(PLUGIN_PROCESS)96 class PluginProcessConnectionManager;97 94 #endif 98 95 … … 337 334 338 335 #if ENABLE(PLUGIN_PROCESS) 339 PluginProcessConnectionManager *m_pluginProcessConnectionManager;336 PluginProcessConnectionManager m_pluginProcessConnectionManager; 340 337 #endif 341 338
Note: See TracChangeset
for help on using the changeset viewer.