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

Unified Diff: printing/pdf_metafile_skia.h

Issue 2400873002: keep only one typedef for the native drawing context (Closed)
Patch Set: native_drawing_context.h Created 4 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/pdf_metafile_cg_mac.h ('k') | printing/pdf_metafile_skia.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: printing/pdf_metafile_skia.h
diff --git a/printing/pdf_metafile_skia.h b/printing/pdf_metafile_skia.h
index 28bd41f4cb4a01af7aaf73cfe28e54ecc5d59f3b..d79dcca5177a30c5baaf0448c70e810a4a13dabb 100644
--- a/printing/pdf_metafile_skia.h
+++ b/printing/pdf_metafile_skia.h
@@ -52,15 +52,15 @@ class PRINTING_EXPORT PdfMetafileSkia : public Metafile {
gfx::Rect GetPageBounds(unsigned int page_number) const override;
unsigned int GetPageCount() const override;
- gfx::NativeDrawingContext context() const override;
+ skia::NativeDrawingContext context() const override;
#if defined(OS_WIN)
- bool Playback(gfx::NativeDrawingContext hdc,
+ bool Playback(skia::NativeDrawingContext hdc,
const RECT* rect) const override;
- bool SafePlayback(gfx::NativeDrawingContext hdc) const override;
+ bool SafePlayback(skia::NativeDrawingContext hdc) const override;
#elif defined(OS_MACOSX)
bool RenderPage(unsigned int page_number,
- gfx::NativeDrawingContext context,
+ skia::NativeDrawingContext context,
const CGRect rect,
const MacRenderPageParams& params) const override;
#endif
« no previous file with comments | « printing/pdf_metafile_cg_mac.h ('k') | printing/pdf_metafile_skia.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698