Changeset 142502 in webkit


Ignore:
Timestamp:
Feb 11, 2013 1:26:00 PM (11 years ago)
Author:
andersca@apple.com
Message:

The plug-in process connection manager doesn't need to be heap allocated
https://bugs.webkit.org/show_bug.cgi?id=109479

Reviewed by Andreas Kling.

  • WebProcess/WebProcess.cpp:

(WebKit::WebProcess::WebProcess):
(WebKit::WebProcess::pluginProcessConnectionManager):
(WebKit::WebProcess::pluginProcessCrashed):

  • WebProcess/WebProcess.h:

(WebKit):
(WebProcess):

Location:
trunk/Source/WebKit2
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r142499 r142502  
     12013-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
    1162013-02-11  Tony Chang  <tony@chromium.org>
    217
  • trunk/Source/WebKit2/WebProcess/WebProcess.cpp

    r142339 r142502  
    163163    , m_webResourceLoadScheduler(new WebResourceLoadScheduler)
    164164#endif
    165 #if ENABLE(PLUGIN_PROCESS)
    166     , m_pluginProcessConnectionManager(new PluginProcessConnectionManager)
    167 #endif
    168165#if USE(SOUP)
    169166    , m_soupRequestManager(this)
     
    446443PluginProcessConnectionManager& WebProcess::pluginProcessConnectionManager()
    447444{
    448     return *m_pluginProcessConnectionManager;
     445    return m_pluginProcessConnectionManager;
    449446}
    450447#endif
     
    985982void WebProcess::pluginProcessCrashed(CoreIPC::Connection*, const String& pluginPath, uint32_t processType)
    986983{
    987     m_pluginProcessConnectionManager->pluginProcessCrashed(pluginPath, static_cast<PluginProcess::Type>(processType));
     984    m_pluginProcessConnectionManager.pluginProcessCrashed(pluginPath, static_cast<PluginProcess::Type>(processType));
    988985}
    989986#endif
  • trunk/Source/WebKit2/WebProcess/WebProcess.h

    r142339 r142502  
    3131#include "DownloadManager.h"
    3232#include "EventDispatcher.h"
     33#include "PluginProcessConnectionManager.h"
    3334#include "ResourceCachesToClear.h"
    3435#include "SandboxExtension.h"
     
    9192#if ENABLE(NETWORK_PROCESS)
    9293class WebResourceLoadScheduler;
    93 #endif
    94 
    95 #if ENABLE(PLUGIN_PROCESS)
    96 class PluginProcessConnectionManager;
    9794#endif
    9895
     
    337334
    338335#if ENABLE(PLUGIN_PROCESS)
    339     PluginProcessConnectionManager* m_pluginProcessConnectionManager;
     336    PluginProcessConnectionManager m_pluginProcessConnectionManager;
    340337#endif
    341338
Note: See TracChangeset for help on using the changeset viewer.