Chromium Code Reviews| Index: Source/core/paint/DeprecatedPaintLayerPainter.cpp |
| diff --git a/Source/core/paint/DeprecatedPaintLayerPainter.cpp b/Source/core/paint/DeprecatedPaintLayerPainter.cpp |
| index 8282e7f9ed085d28b4b990393e0c150715e9394d..81f448bd24992cefbad30d2823503e8512b5bd02 100644 |
| --- a/Source/core/paint/DeprecatedPaintLayerPainter.cpp |
| +++ b/Source/core/paint/DeprecatedPaintLayerPainter.cpp |
| @@ -26,7 +26,7 @@ |
| #include "platform/graphics/paint/ClipPathRecorder.h" |
| #include "platform/graphics/paint/ClipRecorder.h" |
| #include "platform/graphics/paint/CompositingDisplayItem.h" |
| -#include "platform/graphics/paint/DisplayItemList.h" |
| +#include "platform/graphics/paint/DisplayItemCacheSkipper.h" |
|
chrishtr
2015/06/02 17:06:56
I think you accidentally left this class out of th
Xianzhu
2015/06/02 17:36:34
Done.
|
| #include "platform/graphics/paint/Transform3DDisplayItem.h" |
| #include "wtf/Optional.h" |
| @@ -101,6 +101,7 @@ void DeprecatedPaintLayerPainter::paintLayerContentsAndReflection(GraphicsContex |
| // Paint the reflection first if we have one. |
| if (m_paintLayer.reflectionInfo()) { |
| + DisplayItemCacheSkipper skipper(*context); |
| ScopeRecorder scopeRecorder(*context, *m_paintLayer.layoutObject()); |
| m_paintLayer.reflectionInfo()->paint(context, paintingInfo, localPaintFlags | PaintLayerPaintingReflection); |
| } |