From eae9c0623d1800201739b4be146649103a45cd93 Mon Sep 17 00:00:00 2001 From: "erg@google.com" Date: Tue, 11 Jan 2011 00:50:59 +0000 Subject: Order function definitions in base/ according to the header. BUG=68682 TEST=compiles Review URL: http://codereview.chromium.org/6085015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70975 0039d316-1c4b-4281-b951-d872f2087c98 --- base/at_exit.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'base/at_exit.cc') diff --git a/base/at_exit.cc b/base/at_exit.cc index 9fdfd77..e6618a0 100644 --- a/base/at_exit.cc +++ b/base/at_exit.cc @@ -18,11 +18,6 @@ AtExitManager::AtExitManager() : next_manager_(NULL) { g_top_manager = this; } -AtExitManager::AtExitManager(bool shadow) : next_manager_(g_top_manager) { - DCHECK(shadow || !g_top_manager); - g_top_manager = this; -} - AtExitManager::~AtExitManager() { if (!g_top_manager) { NOTREACHED() << "Tried to ~AtExitManager without an AtExitManager"; @@ -64,4 +59,9 @@ void AtExitManager::ProcessCallbacksNow() { } } +AtExitManager::AtExitManager(bool shadow) : next_manager_(g_top_manager) { + DCHECK(shadow || !g_top_manager); + g_top_manager = this; +} + } // namespace base -- cgit v1.1