Chromium Code Reviews| Index: Source/platform/graphics/GraphicsContext.h |
| diff --git a/Source/platform/graphics/GraphicsContext.h b/Source/platform/graphics/GraphicsContext.h |
| index 697aa1be3348fdaa8df5668028eaa66e2d446eb9..c24fca55512a206232aa32082de42cd939fad9a3 100644 |
| --- a/Source/platform/graphics/GraphicsContext.h |
| +++ b/Source/platform/graphics/GraphicsContext.h |
| @@ -49,6 +49,7 @@ class SkImage; |
| class SkPaint; |
| class SkPath; |
| class SkPicture; |
| +class SkPictureRecorder; |
| class SkRRect; |
| class SkTextBlob; |
| struct SkImageInfo; |
| @@ -440,7 +441,9 @@ private: |
| AnnotationModeFlags m_annotationMode; |
| + // Only used when Slimming Paint is off. When it is on, m_pictureRecorder is used instead. |
| Vector<OwnPtr<RecordingState>> m_recordingStateStack; |
| + OwnPtr<SkPictureRecorder> m_pictureRecorder; |
|
f(malita)
2015/04/13 21:39:45
This has the same lifetime as GC - can we drop the
chrishtr
2015/04/13 21:48:34
Done.
|
| #if ENABLE(ASSERT) |
| unsigned m_layerCount; |