From 02fb75abae043fc1d6c14bebedeb6598dd955ef5 Mon Sep 17 00:00:00 2001 From: "evan@chromium.org" Date: Mon, 12 Oct 2009 16:11:40 +0000 Subject: 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 --- o3d/plugin/linux/main_linux.cc | 2 +- o3d/plugin/mac/main_mac.mm | 2 +- o3d/plugin/win/main_win.cc | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'o3d') 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 -- cgit v1.1