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

Unified Diff: third_party/WebKit/Source/platform/mac/LocalCurrentGraphicsContext.h

Issue 2640983002: Rename paint data structures (Closed)
Patch Set: DrawingDisplayItem Created 3 years, 11 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: 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;

Powered by Google App Engine
This is Rietveld 408576698