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

Unified Diff: Source/core/paint/ViewDisplayList.h

Issue 744163002: Enable fast/images with slimming paint (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix VirtualTestSuites. Created 6 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: Source/core/paint/ViewDisplayList.h
diff --git a/Source/core/paint/ViewDisplayList.h b/Source/core/paint/ViewDisplayList.h
index 854e1bb65dca6eb2c8c0fafadce332668bd903e5..c64bbbedc023ba817e12be35a973ffe7d10cf398 100644
--- a/Source/core/paint/ViewDisplayList.h
+++ b/Source/core/paint/ViewDisplayList.h
@@ -49,18 +49,19 @@ public:
EndClip = 27,
BeginFilter = 28,
EndFilter = 29,
- BeginTransparency = 30,
chrishtr 2014/11/25 00:29:58 Let's get rid of the numbers that are not necessar
- EndTransparency = 31,
- ClipBoxChildBlockBackgrounds = 32,
- ClipBoxFloat = 33,
- ClipBoxForeground = 34,
- ClipBoxChildOutlines = 35,
- ClipBoxSelection = 36,
- ClipBoxCollapsedTableBorders = 37,
- ClipBoxTextClip = 38,
- ClipBoxClippingMask = 39,
- BeginTransform = 40,
- EndTransform = 41
+ TransparencyClip = 30,
+ BeginTransparency = 31,
+ EndTransparency = 32,
+ ClipBoxChildBlockBackgrounds = 33,
+ ClipBoxFloat = 34,
+ ClipBoxForeground = 35,
+ ClipBoxChildOutlines = 36,
+ ClipBoxSelection = 37,
+ ClipBoxCollapsedTableBorders = 38,
+ ClipBoxTextClip = 39,
+ ClipBoxClippingMask = 40,
+ BeginTransform = 41,
+ EndTransform = 42
};
virtual ~DisplayItem() { }
@@ -71,6 +72,8 @@ public:
Type type() const { return m_id.type; }
bool idsEqual(const DisplayItem& other) const { return m_id.renderer == other.m_id.renderer && m_id.type == other.m_id.type; }
+ static Type paintPhaseToClipType(PaintPhase);
+
#ifndef NDEBUG
static WTF::String typeAsDebugString(DisplayItem::Type);
static WTF::String rendererDebugString(const RenderObject*);

Powered by Google App Engine
This is Rietveld 408576698