Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(515)

Unified Diff: printing/units.cc

Issue 8334007: Cleanup: Remove unneeded namespaces. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « printing/printing_context_win.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: printing/units.cc
===================================================================
--- printing/units.cc (revision 105978)
+++ printing/units.cc (working copy)
@@ -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 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
« no previous file with comments | « printing/printing_context_win.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698