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

Unified Diff: printing/printed_document_mac.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/print_settings_initializer.cc ('k') | printing/printed_document_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: printing/printed_document_mac.cc
===================================================================
--- printing/printed_document_mac.cc (revision 105978)
+++ printing/printed_document_mac.cc (working copy)
@@ -25,12 +25,11 @@
DCHECK(context);
- const printing::PageSetup& page_setup(
- immutable_.settings_.page_setup_device_units());
+ const PageSetup& page_setup(immutable_.settings_.page_setup_device_units());
gfx::Rect content_area;
page.GetCenteredPageContentRect(page_setup.physical_size(), &content_area);
- const printing::Metafile* metafile = page.metafile();
+ const Metafile* metafile = page.metafile();
// Each Metafile is a one-page PDF, and pages use 1-based indexing.
const int page_number = 1;
metafile->RenderPage(page_number, context, content_area.ToCGRect(),
« no previous file with comments | « printing/print_settings_initializer.cc ('k') | printing/printed_document_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698