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

Unified Diff: printing/printing_context.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/printing_context.h
diff --git a/printing/printing_context.h b/printing/printing_context.h
index 37a35dc96eeea02bb615a864d443d24f4497569a..67831290a4c2b6d0403f27cb1b6c9c525901e581 100644
--- a/printing/printing_context.h
+++ b/printing/printing_context.h
@@ -12,6 +12,7 @@
#include "base/macros.h"
#include "base/strings/string16.h"
#include "printing/print_settings.h"
+#include "skia/ext/platform_surface.h"
#include "ui/gfx/native_widget_types.h"
namespace base {
@@ -111,7 +112,7 @@ class PRINTING_EXPORT PrintingContext {
virtual void ReleaseContext() = 0;
// Returns the native context used to print.
- virtual gfx::NativeDrawingContext context() const = 0;
+ virtual skia::NativeDrawingContext context() const = 0;
// Creates an instance of this object. Implementers of this interface should
// implement this method to create an object of their implementation.

Powered by Google App Engine
This is Rietveld 408576698