From 810a52ef77564f1674a600317175743176bcc965 Mon Sep 17 00:00:00 2001 From: "pkasting@chromium.org" Date: Fri, 8 Jan 2010 01:22:15 +0000 Subject: Remove most uses of EmptyString(), EmptyWString(), EmptyString16(), and EmptyGURL(), since the code in question can just use the default constructor. BUG=none TEST=none Review URL: http://codereview.chromium.org/517054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35766 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/common/platform_util_mac.mm | 4 ++-- chrome/common/platform_util_win.cc | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'chrome/common') diff --git a/chrome/common/platform_util_mac.mm b/chrome/common/platform_util_mac.mm index 14ba3a5..359af9e 100644 --- a/chrome/common/platform_util_mac.mm +++ b/chrome/common/platform_util_mac.mm @@ -1,4 +1,4 @@ -// Copyright (c) 2009 The Chromium Authors. All rights reserved. +// Copyright (c) 2010 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. @@ -93,7 +93,7 @@ string16 GetVersionStringModifier() { channel = @"stable"; return base::SysNSStringToUTF16(channel); #else - return EmptyString16(); + return string16(); #endif } diff --git a/chrome/common/platform_util_win.cc b/chrome/common/platform_util_win.cc index 1e4594b..01f1efb 100644 --- a/chrome/common/platform_util_win.cc +++ b/chrome/common/platform_util_win.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2009 The Chromium Authors. All rights reserved. +// Copyright (c) 2010 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. @@ -207,7 +207,7 @@ string16 GetVersionStringModifier() { #if defined(GOOGLE_CHROME_BUILD) return CurrentChromeChannel(); #else - return EmptyString16(); + return string16(); #endif } -- cgit v1.1