summaryrefslogtreecommitdiffstats
path: root/o3d
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-12 16:11:40 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-12 16:11:40 +0000
commit02fb75abae043fc1d6c14bebedeb6598dd955ef5 (patch)
tree47d7ff66aca6716c75f6521c1857e3c918eef6d0 /o3d
parent0a9f9d546e2eb56030874c1b644a092a54483b0e (diff)
downloadchromium_src-02fb75abae043fc1d6c14bebedeb6598dd955ef5.zip
chromium_src-02fb75abae043fc1d6c14bebedeb6598dd955ef5.tar.gz
chromium_src-02fb75abae043fc1d6c14bebedeb6598dd955ef5.tar.bz2
Drop redundant CommandLine::Terminate.
We had two functions that did the same thing. Though Terminate came first, I think Reset better conveys the intent. Review URL: http://codereview.chromium.org/267047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28708 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'o3d')
-rw-r--r--o3d/plugin/linux/main_linux.cc2
-rw-r--r--o3d/plugin/mac/main_mac.mm2
-rw-r--r--o3d/plugin/win/main_win.cc2
3 files changed, 3 insertions, 3 deletions
diff --git a/o3d/plugin/linux/main_linux.cc b/o3d/plugin/linux/main_linux.cc
index 45cc982..594d255 100644
--- a/o3d/plugin/linux/main_linux.cc
+++ b/o3d/plugin/linux/main_linux.cc
@@ -662,7 +662,7 @@ NPError EXPORT_SYMBOL OSCALL NP_Shutdown(void) {
HANDLE_CRASHES;
DLOG(INFO) << "NP_Shutdown";
- CommandLine::Terminate();
+ CommandLine::Reset();
return NPERR_NO_ERROR;
}
diff --git a/o3d/plugin/mac/main_mac.mm b/o3d/plugin/mac/main_mac.mm
index 9f497b1..769d027 100644
--- a/o3d/plugin/mac/main_mac.mm
+++ b/o3d/plugin/mac/main_mac.mm
@@ -687,7 +687,7 @@ NPError OSCALL NP_Shutdown(void) {
stats_report::g_global_metrics.Uninitialize();
}
- CommandLine::Terminate();
+ CommandLine::Reset();
#ifdef CFTIMER
o3d::gRenderTimer.Stop();
diff --git a/o3d/plugin/win/main_win.cc b/o3d/plugin/win/main_win.cc
index f658f84..9458819 100644
--- a/o3d/plugin/win/main_win.cc
+++ b/o3d/plugin/win/main_win.cc
@@ -739,7 +739,7 @@ NPError OSCALL NP_Shutdown(void) {
stats_report::g_global_metrics.Uninitialize();
}
- CommandLine::Terminate();
+ CommandLine::Reset();
// TODO : This is commented out until we can determine if
// it's safe to shutdown breakpad at this stage (Gears, for