summaryrefslogtreecommitdiffstats
path: root/webkit
diff options
context:
space:
mode:
authordkegel@google.com <dkegel@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-16 22:48:42 +0000
committerdkegel@google.com <dkegel@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-16 22:48:42 +0000
commit6256397c0cbb5d88e47676a7414f71669ddc638a (patch)
treee67e1fcfd782e2209ab6721fee11fe43dbc1e242 /webkit
parent7a36977a1d983af47ee83aa71cd47d156fe9110e (diff)
downloadchromium_src-6256397c0cbb5d88e47676a7414f71669ddc638a.zip
chromium_src-6256397c0cbb5d88e47676a7414f71669ddc638a.tar.gz
chromium_src-6256397c0cbb5d88e47676a7414f71669ddc638a.tar.bz2
Fix two nits that arrived after checkin
Review URL: http://codereview.chromium.org/67230 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13894 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-rw-r--r--webkit/glue/webkit_glue.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/webkit/glue/webkit_glue.cc b/webkit/glue/webkit_glue.cc
index 5b2828d..e82fd42 100644
--- a/webkit/glue/webkit_glue.cc
+++ b/webkit/glue/webkit_glue.cc
@@ -329,15 +329,14 @@ std::string BuildOSCpuInfo() {
&os_minor_version,
&os_bugfix_version);
#else
- // Should work on any Posix system
- // Get CPU type and operating system name
+ // Should work on any Posix system.
struct utsname unixinfo;
uname(&unixinfo);
std::string cputype;
// special case for biarch systems
if (strcmp(unixinfo.machine, "x86_64") == 0 &&
- sizeof(void *) == sizeof(int32)) {
+ sizeof(void*) == sizeof(int32)) {
cputype.assign("i686 (x86_64)");
} else {
cputype.assign(unixinfo.machine);