summaryrefslogtreecommitdiffstats
path: root/content
diff options
context:
space:
mode:
authorwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-08 20:11:15 +0000
committerwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-08 20:11:15 +0000
commit5afcf688d7839adea62e9de8b87a8c17bd282013 (patch)
tree74f495cb93cccd539c9292e0744874aea5d80442 /content
parentc11a45eb15b4ceb4e4fa4444b81b3c265619bfec (diff)
downloadchromium_src-5afcf688d7839adea62e9de8b87a8c17bd282013.zip
chromium_src-5afcf688d7839adea62e9de8b87a8c17bd282013.tar.gz
chromium_src-5afcf688d7839adea62e9de8b87a8c17bd282013.tar.bz2
Switch most BrowserChildProcessHost subclasses to using the new constructor.
BUG=78596 TEST=none Review URL: http://codereview.chromium.org/6802017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80977 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content')
-rw-r--r--content/browser/gpu_process_host.cc2
-rw-r--r--content/browser/plugin_process_host.cc2
-rw-r--r--content/browser/ppapi_plugin_process_host.cc2
3 files changed, 3 insertions, 3 deletions
diff --git a/content/browser/gpu_process_host.cc b/content/browser/gpu_process_host.cc
index fab8f12..3cdb894 100644
--- a/content/browser/gpu_process_host.cc
+++ b/content/browser/gpu_process_host.cc
@@ -81,7 +81,7 @@ GpuProcessHost::GpuProcessHost(
int host_id,
const GpuFeatureFlags& gpu_feature_flags,
content::CauseForGpuLaunch cause_for_gpu_launch)
- : BrowserChildProcessHost(GPU_PROCESS, NULL),
+ : BrowserChildProcessHost(GPU_PROCESS),
host_id_(host_id),
gpu_feature_flags_(gpu_feature_flags) {
g_hosts_by_id.AddWithID(this, host_id_);
diff --git a/content/browser/plugin_process_host.cc b/content/browser/plugin_process_host.cc
index e12d443..3dab715 100644
--- a/content/browser/plugin_process_host.cc
+++ b/content/browser/plugin_process_host.cc
@@ -93,7 +93,7 @@ void PluginProcessHost::OnMapNativeViewId(gfx::NativeViewId id,
#endif // defined(TOOLKIT_USES_GTK)
PluginProcessHost::PluginProcessHost()
- : BrowserChildProcessHost(PLUGIN_PROCESS, NULL)
+ : BrowserChildProcessHost(PLUGIN_PROCESS)
#if defined(OS_MACOSX)
, plugin_cursor_visible_(true)
#endif
diff --git a/content/browser/ppapi_plugin_process_host.cc b/content/browser/ppapi_plugin_process_host.cc
index 1659450..598f6fe 100644
--- a/content/browser/ppapi_plugin_process_host.cc
+++ b/content/browser/ppapi_plugin_process_host.cc
@@ -17,7 +17,7 @@
#include "ppapi/proxy/ppapi_messages.h"
PpapiPluginProcessHost::PpapiPluginProcessHost()
- : BrowserChildProcessHost(ChildProcessInfo::PPAPI_PLUGIN_PROCESS, NULL) {
+ : BrowserChildProcessHost(ChildProcessInfo::PPAPI_PLUGIN_PROCESS) {
}
PpapiPluginProcessHost::~PpapiPluginProcessHost() {