| Index: Source/core/platform/graphics/GraphicsContext.h
|
| diff --git a/Source/core/platform/graphics/GraphicsContext.h b/Source/core/platform/graphics/GraphicsContext.h
|
| index ea4b991155bf5aa671d6f894f0edbf0a67c79f09..6d436e61c04150b9a946cea7bfea922145840566 100644
|
| --- a/Source/core/platform/graphics/GraphicsContext.h
|
| +++ b/Source/core/platform/graphics/GraphicsContext.h
|
| @@ -38,6 +38,7 @@
|
| #include "platform/geometry/FloatRect.h"
|
| #include "platform/graphics/DashArray.h"
|
| #include "platform/graphics/DrawLooper.h"
|
| +#include "platform/graphics/ImageBufferSurface.h"
|
| #include "platform/graphics/ImageOrientation.h"
|
| // TODO(robertphillips): replace this include with "class SkBaseDevice;"
|
| #include "third_party/skia/include/core/SkDevice.h"
|
| @@ -89,8 +90,6 @@ public:
|
| const SkBitmap* bitmap() const;
|
| const SkBitmap& layerBitmap(AccessMode = ReadOnly) const;
|
|
|
| - SkBaseDevice* createCompatibleDevice(const IntSize&, bool hasAlpha) const;
|
| -
|
| // ---------- State management methods -----------------
|
| void save();
|
| void restore();
|
| @@ -367,7 +366,7 @@ public:
|
|
|
| // Create an image buffer compatible with this context, with suitable resolution
|
| // for drawing into the buffer and then into this context.
|
| - PassOwnPtr<ImageBuffer> createCompatibleBuffer(const IntSize&, bool hasAlpha = true) const;
|
| + PassOwnPtr<ImageBuffer> createCompatibleBuffer(const IntSize&, OpacityMode = NonOpaque) const;
|
|
|
| static void adjustLineToPixelBoundaries(FloatPoint& p1, FloatPoint& p2, float strokeWidth, StrokeStyle);
|
|
|
|
|