Chromium Code Reviews| 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..54a810e857be4617d39b881e65662676b2ee89c0 100644 |
| --- a/Source/core/html/canvas/CanvasRenderingContext2D.h |
| +++ b/Source/core/html/canvas/CanvasRenderingContext2D.h |
| @@ -342,6 +342,7 @@ private: |
| void drawFocusRing(const Path&); |
| void addHitRegionInternal(const HitRegionOptions&, ExceptionState&); |
| + bool isClipMode() { return m_clipCount; } |
|
Justin Novosad
2014/07/02 15:12:31
should be hasClip()
|
| void validateStateStack(); |
| @@ -362,6 +363,7 @@ private: |
| Canvas2DContextStorage m_storageMode; |
| MutableStylePropertyMap m_fetchedFonts; |
| unsigned m_tryRestoreContextAttemptCount; |
| + unsigned m_clipCount; |
| Timer<CanvasRenderingContext2D> m_dispatchContextLostEventTimer; |
| Timer<CanvasRenderingContext2D> m_dispatchContextRestoredEventTimer; |
| Timer<CanvasRenderingContext2D> m_tryRestoreContextEventTimer; |