| Index: third_party/WebKit/Source/core/paint/PaintLayerPainter.h
|
| diff --git a/third_party/WebKit/Source/core/paint/PaintLayerPainter.h b/third_party/WebKit/Source/core/paint/PaintLayerPainter.h
|
| index b767e7a5d41d579d0c8b88d959678c5574516c12..a0520c9d0e0684851ea6d053271d6f596f69c708 100644
|
| --- a/third_party/WebKit/Source/core/paint/PaintLayerPainter.h
|
| +++ b/third_party/WebKit/Source/core/paint/PaintLayerPainter.h
|
| @@ -8,6 +8,7 @@
|
| #include "core/CoreExport.h"
|
| #include "core/paint/PaintLayerFragment.h"
|
| #include "core/paint/PaintLayerPaintingInfo.h"
|
| +#include "core/paint/PaintResult.h"
|
| #include "wtf/Allocator.h"
|
|
|
| namespace blink {
|
| @@ -27,18 +28,6 @@ class CORE_EXPORT PaintLayerPainter {
|
| public:
|
| enum FragmentPolicy { AllowMultipleFragments, ForceSingleFragment };
|
|
|
| - // When adding new values, must update the number of bits of
|
| - // PaintLayer::m_previousPaintingResult.
|
| - enum PaintResult {
|
| - // The layer is fully painted. This includes cases that nothing needs
|
| - // painting regardless of the paint rect.
|
| - FullyPainted,
|
| - // Some part of the layer is out of the paint rect and may be not fully
|
| - // painted. The results cannot be cached because they may change when paint
|
| - // rect changes.
|
| - MayBeClippedByPaintDirtyRect
|
| - };
|
| -
|
| PaintLayerPainter(PaintLayer& paintLayer) : m_paintLayer(paintLayer) {}
|
|
|
| // The paint() method paints the layers that intersect the damage rect from
|
|
|