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

Unified Diff: third_party/WebKit/Source/core/layout/line/InlineBox.h

Issue 2095013003: Changes in DisplayItemClient for spv2 paint invalidation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 6 months 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/layout/line/InlineBox.h
diff --git a/third_party/WebKit/Source/core/layout/line/InlineBox.h b/third_party/WebKit/Source/core/layout/line/InlineBox.h
index 6d7f6f6dfe7c9c0c732b025364820a18b290a58b..40d75eb10c8285bd1c2b218b66830a5e6661d4b4 100644
--- a/third_party/WebKit/Source/core/layout/line/InlineBox.h
+++ b/third_party/WebKit/Source/core/layout/line/InlineBox.h
@@ -56,13 +56,13 @@ public:
InlineBox(LineLayoutItem item, LayoutPoint topLeft, LayoutUnit logicalWidth, bool firstLine, bool constructed,
bool dirty, bool extracted, bool isHorizontal, InlineBox* next, InlineBox* prev, InlineFlowBox* parent)
- : m_next(next)
+ : m_bitfields(firstLine, constructed, dirty, extracted, isHorizontal)
+ , m_next(next)
, m_prev(prev)
, m_parent(parent)
, m_lineLayoutItem(item)
, m_topLeft(topLeft)
, m_logicalWidth(logicalWidth)
- , m_bitfields(firstLine, constructed, dirty, extracted, isHorizontal)
#if ENABLE(ASSERT)
, m_hasBadParent(false)
#endif
@@ -397,6 +397,8 @@ private:
void setLineLayoutItemShouldDoFullPaintInvalidationIfNeeded();
+ InlineBoxBitfields m_bitfields;
+
InlineBox* m_next; // The next element on the same line as us.
InlineBox* m_prev; // The previous element on the same line as us.
@@ -427,10 +429,6 @@ protected:
LayoutUnit m_logicalWidth;
private:
- InlineBoxBitfields m_bitfields;
-
- DISPLAY_ITEM_CACHE_STATUS_IMPLEMENTATION
-
#if ENABLE(ASSERT)
bool m_hasBadParent;
#endif
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutObject.cpp ('k') | third_party/WebKit/Source/core/layout/line/InlineBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698