| Index: Source/platform/mac/LocalCurrentGraphicsContext.h
|
| diff --git a/Source/platform/mac/LocalCurrentGraphicsContext.h b/Source/platform/mac/LocalCurrentGraphicsContext.h
|
| index 0d9bf0d2fe7ed5429561193f885dcc61446d9aa9..a07200b694cb7a448928d3f8fb64ca221c3e26b8 100644
|
| --- a/Source/platform/mac/LocalCurrentGraphicsContext.h
|
| +++ b/Source/platform/mac/LocalCurrentGraphicsContext.h
|
| @@ -17,6 +17,7 @@
|
| * Boston, MA 02110-1301, USA.
|
| */
|
|
|
| +#include "platform/Geometry/IntRect.h"
|
| #include "platform/PlatformExport.h"
|
| #include "skia/ext/skia_utils_mac.h"
|
| #include "wtf/Noncopyable.h"
|
| @@ -32,10 +33,11 @@ class GraphicsContext;
|
| class PLATFORM_EXPORT LocalCurrentGraphicsContext {
|
| WTF_MAKE_NONCOPYABLE(LocalCurrentGraphicsContext);
|
| public:
|
| - LocalCurrentGraphicsContext(GraphicsContext* graphicsContext);
|
| + LocalCurrentGraphicsContext(GraphicsContext*, IntRect clipRect);
|
| ~LocalCurrentGraphicsContext();
|
| CGContextRef cgContext();
|
| private:
|
| +
|
| GraphicsContext* m_savedGraphicsContext;
|
| NSGraphicsContext* m_savedNSGraphicsContext;
|
| bool m_didSetGraphicsContext;
|
|
|