| Index: Source/core/rendering/GraphicsContextAnnotator.h
|
| diff --git a/Source/core/rendering/GraphicsContextAnnotator.h b/Source/core/rendering/GraphicsContextAnnotator.h
|
| index 8cbb6c0d842ce911d5032f506c12184218c5adef..75729e972217f5f5c855ffa3028900ef61bb60e1 100644
|
| --- a/Source/core/rendering/GraphicsContextAnnotator.h
|
| +++ b/Source/core/rendering/GraphicsContextAnnotator.h
|
| @@ -32,7 +32,9 @@
|
| #ifndef GraphicsContextAnnotator_h
|
| #define GraphicsContextAnnotator_h
|
|
|
| +// FIXME: Introduce a real paint API instead of piggybacking on GraphicsContextAnnotator.
|
| #define ANNOTATE_GRAPHICS_CONTEXT(paintInfo, renderer) \
|
| + GraphicsContextAnnotator::trackPaintInvalidation(paintInfo, renderer); \
|
| GraphicsContextAnnotator scopedGraphicsContextAnnotator; \
|
| if (UNLIKELY(paintInfo.context->annotationMode())) \
|
| scopedGraphicsContextAnnotator.annotate(paintInfo, renderer)
|
| @@ -57,6 +59,8 @@ public:
|
|
|
| void annotate(const PaintInfo&, const RenderObject*);
|
|
|
| + static void trackPaintInvalidation(const PaintInfo&, RenderObject*);
|
| +
|
| private:
|
| void finishAnnotation();
|
|
|
|
|