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

Unified Diff: printing/pdf_render_settings.h

Issue 1159553007: Move Tuple to base namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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 | « ppapi/proxy/websocket_resource_unittest.cc ('k') | sandbox/linux/bpf_dsl/codegen.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: printing/pdf_render_settings.h
diff --git a/printing/pdf_render_settings.h b/printing/pdf_render_settings.h
index 85bf00e5705e4534341c6ef9294340db9127223d..3f8f38bab3b0b844e25b0f0ac4faf69fafd40fac 100644
--- a/printing/pdf_render_settings.h
+++ b/printing/pdf_render_settings.h
@@ -16,7 +16,7 @@ namespace printing {
// gfx::Rect - render area
// int - render dpi
// bool - autorotate pages to fit paper
-typedef Tuple<gfx::Rect, int, bool> PdfRenderSettingsBase;
+typedef base::Tuple<gfx::Rect, int, bool> PdfRenderSettingsBase;
class PdfRenderSettings : public PdfRenderSettingsBase {
public:
@@ -25,9 +25,9 @@ class PdfRenderSettings : public PdfRenderSettingsBase {
: PdfRenderSettingsBase(area, dpi, autorotate) {}
~PdfRenderSettings() {}
- const gfx::Rect& area() const { return ::get<0>(*this); }
- int dpi() const { return ::get<1>(*this); }
- bool autorotate() const { return ::get<2>(*this); }
+ const gfx::Rect& area() const { return base::get<0>(*this); }
+ int dpi() const { return base::get<1>(*this); }
+ bool autorotate() const { return base::get<2>(*this); }
};
} // namespace printing
« no previous file with comments | « ppapi/proxy/websocket_resource_unittest.cc ('k') | sandbox/linux/bpf_dsl/codegen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698