Index: Source/core/html/canvas/CanvasRenderingContext2D.h |
diff --git a/Source/core/html/canvas/CanvasRenderingContext2D.h b/Source/core/html/canvas/CanvasRenderingContext2D.h |
index dac937e6b776ba8c61207d1749527bd24f78392b..6dae7cefd9940f1d42bcacadd581feac0456b9f1 100644 |
--- a/Source/core/html/canvas/CanvasRenderingContext2D.h |
+++ b/Source/core/html/canvas/CanvasRenderingContext2D.h |
@@ -283,6 +283,8 @@ private: |
String m_unparsedFont; |
Font m_font; |
bool m_realizedFont; |
+ |
+ bool m_hasClip; |
}; |
CanvasRenderingContext2D(HTMLCanvasElement*, const Canvas2DContextAttributes* attrs, bool usesCSSCompatibilityParseMode); |
@@ -342,6 +344,7 @@ private: |
void drawFocusRing(const Path&); |
void addHitRegionInternal(const HitRegionOptions&, ExceptionState&); |
+ bool hasClip() { return state().m_hasClip; } |
void validateStateStack(); |