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

Unified Diff: printing/printed_document.h

Issue 2400873002: keep only one typedef for the native drawing context (Closed)
Patch Set: 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
Index: printing/printed_document.h
diff --git a/printing/printed_document.h b/printing/printed_document.h
index 6231d2ee4f8c88f60a5bf7d0db43d8482a556c41..2bac50a82e1592fcb5d3ded730e18b350d8a6571 100644
--- a/printing/printed_document.h
+++ b/printing/printed_document.h
@@ -14,7 +14,7 @@
#include "base/strings/string16.h"
#include "base/synchronization/lock.h"
#include "printing/print_settings.h"
-#include "ui/gfx/native_widget_types.h"
+#include "skia/ext/platform_surface.h"
namespace base {
class RefCountedMemory;
@@ -63,7 +63,7 @@ class PRINTING_EXPORT PrintedDocument
// Note: locks for a short amount of time in debug only.
#if defined(OS_WIN) || defined(OS_MACOSX) && !defined(USE_AURA)
void RenderPrintedPage(const PrintedPage& page,
- gfx::NativeDrawingContext context) const;
+ skia::NativeDrawingContext context) const;
#elif defined(OS_POSIX)
void RenderPrintedPage(const PrintedPage& page,
PrintingContext* context) const;

Powered by Google App Engine
This is Rietveld 408576698