Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(742)

Unified Diff: third_party/WebKit/Source/core/paint/PaintLayerPainter.h

Issue 2430313004: Paint collapsed borders of a table as one display item (Closed)
Patch Set: Rebaseline-cl Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698