Index: third_party/WebKit/Source/platform/mac/LocalCurrentGraphicsContext.h |
diff --git a/third_party/WebKit/Source/platform/mac/LocalCurrentGraphicsContext.h b/third_party/WebKit/Source/platform/mac/LocalCurrentGraphicsContext.h |
index fc908b495c6c3f4957e9ed81e65c3b3b2ae5f8e3..bfdeffabd4bd269c1c641a67f56b1560e9e5a862 100644 |
--- a/third_party/WebKit/Source/platform/mac/LocalCurrentGraphicsContext.h |
+++ b/third_party/WebKit/Source/platform/mac/LocalCurrentGraphicsContext.h |
@@ -19,13 +19,12 @@ |
#include "platform/PlatformExport.h" |
#include "platform/geometry/IntRect.h" |
+#include "platform/graphics/paint/PaintCanvas.h" |
#include "skia/ext/skia_utils_mac.h" |
#include "wtf/Noncopyable.h" |
OBJC_CLASS NSGraphicsContext; |
-class SkCanvas; |
- |
namespace blink { |
class GraphicsContext; |
@@ -37,14 +36,14 @@ class PLATFORM_EXPORT LocalCurrentGraphicsContext { |
public: |
LocalCurrentGraphicsContext(GraphicsContext&, const IntRect& dirtyRect); |
- LocalCurrentGraphicsContext(SkCanvas*, |
+ LocalCurrentGraphicsContext(PaintCanvas*, |
float deviceScaleFactor, |
const IntRect& dirtyRect); |
~LocalCurrentGraphicsContext(); |
CGContextRef cgContext(); |
private: |
- SkCanvas* m_savedCanvas; |
+ PaintCanvas* m_savedCanvas; |
NSGraphicsContext* m_savedNSGraphicsContext; |
bool m_didSetGraphicsContext; |
IntRect m_inflatedDirtyRect; |