diff options
author | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-18 20:58:51 +0000 |
---|---|---|
committer | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-18 20:58:51 +0000 |
commit | d91db11a358380d9581130cd785f824282207d42 (patch) | |
tree | a2c0f521aba51b95d195b8d45c38aa647c13e8b8 /printing/units.cc | |
parent | c54c43e735b1e3e5e6900700d1accec4fcbf5926 (diff) | |
download | chromium_src-d91db11a358380d9581130cd785f824282207d42.zip chromium_src-d91db11a358380d9581130cd785f824282207d42.tar.gz chromium_src-d91db11a358380d9581130cd785f824282207d42.tar.bz2 |
Cleanup: Remove unneeded namespaces.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/8334007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106129 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'printing/units.cc')
-rw-r--r-- | printing/units.cc | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/printing/units.cc b/printing/units.cc index 84d78bb..f1ec616 100644 --- a/printing/units.cc +++ b/printing/units.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. +// Copyright (c) 2011 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. @@ -55,11 +55,10 @@ double ConvertPointsToPixelDouble(double points) { double GetHeaderFooterSegmentWidth(double page_width) { // Interstice is left at both ends of the page as well as between // each region, so 1 is added. - double total_interstice_width = - (printing::kSettingHeaderFooterHorizontalRegions + 1) * - printing::kSettingHeaderFooterInterstice; + double total_interstice_width = (kSettingHeaderFooterHorizontalRegions + 1) * + kSettingHeaderFooterInterstice; return (page_width - total_interstice_width) / - printing::kSettingHeaderFooterHorizontalRegions; + kSettingHeaderFooterHorizontalRegions; } } // namespace printing |