| Index: Source/platform/graphics/GraphicsContext.h
|
| diff --git a/Source/platform/graphics/GraphicsContext.h b/Source/platform/graphics/GraphicsContext.h
|
| index 81c93850e3164f1fa7cc13ed8cc841f593863293..d756c0110434410a588603de95599192f1aa3186 100644
|
| --- a/Source/platform/graphics/GraphicsContext.h
|
| +++ b/Source/platform/graphics/GraphicsContext.h
|
| @@ -34,7 +34,7 @@
|
| #include "platform/geometry/FloatRect.h"
|
| #include "platform/graphics/DashArray.h"
|
| #include "platform/graphics/DrawLooper.h"
|
| -#include "platform/graphics/ImageBuffer.h"
|
| +#include "platform/graphics/ImageBufferSurface.h"
|
| #include "platform/graphics/ImageOrientation.h"
|
| #include "platform/graphics/GraphicsContextAnnotation.h"
|
| #include "platform/graphics/GraphicsContextState.h"
|
| @@ -90,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();
|
| @@ -368,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);
|
|
|
|
|