Implement SysInfo for iOS


BUG=NONE
TEST=NONE

Review URL: https://chromiumcodereview.appspot.com/10704123

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146106 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/base/sys_info_mac.cc b/base/sys_info_mac.cc
index d8210a2..1a1d23c 100644
--- a/base/sys_info_mac.cc
+++ b/base/sys_info_mac.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
@@ -46,12 +46,11 @@
                          HOST_BASIC_INFO,
                          reinterpret_cast<host_info_t>(&hostinfo),
                          &count);
-  DCHECK_EQ(HOST_BASIC_INFO_COUNT, count);
   if (result != KERN_SUCCESS) {
     NOTREACHED();
     return 0;
   }
-
+  DCHECK_EQ(HOST_BASIC_INFO_COUNT, count);
   return static_cast<int64>(hostinfo.max_mem);
 }