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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutObject.h

Issue 2707073002: Move PreviousBoxGeometries from BoxPaintInvalidator into LayoutBox::m_rareData (Closed)
Patch Set: - Created 3 years, 10 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/LayoutObject.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutObject.h b/third_party/WebKit/Source/core/layout/LayoutObject.h
index 889c6d388be1d9f08cecee4b1bcd5c3dab2690c8..88f1570f6cf84ea5c38f9e7dbe2c671d6d2cc203 100644
--- a/third_party/WebKit/Source/core/layout/LayoutObject.h
+++ b/third_party/WebKit/Source/core/layout/LayoutObject.h
@@ -1743,9 +1743,6 @@ class CORE_EXPORT LayoutObject : public ImageResourceObserver,
void setHasPreviousSelectionVisualRect(bool b) {
m_layoutObject.m_bitfields.setHasPreviousSelectionVisualRect(b);
}
- void setHasPreviousBoxGeometries(bool b) {
- m_layoutObject.m_bitfields.setHasPreviousBoxGeometries(b);
- }
void setPreviousBackgroundObscured(bool b) {
m_layoutObject.setPreviousBackgroundObscured(b);
}
@@ -1865,9 +1862,6 @@ class CORE_EXPORT LayoutObject : public ImageResourceObserver,
bool hasPreviousSelectionVisualRect() const {
return m_bitfields.hasPreviousSelectionVisualRect();
}
- bool hasPreviousBoxGeometries() const {
- return m_bitfields.hasPreviousBoxGeometries();
- }
bool backgroundChangedSinceLastPaintInvalidation() const {
return m_bitfields.backgroundChangedSinceLastPaintInvalidation();
@@ -2231,7 +2225,6 @@ class CORE_EXPORT LayoutObject : public ImageResourceObserver,
m_hasBoxDecorationBackground(false),
m_hasPreviousLocationInBacking(false),
m_hasPreviousSelectionVisualRect(false),
- m_hasPreviousBoxGeometries(false),
m_needsPaintPropertyUpdate(true),
m_subtreeNeedsPaintPropertyUpdate(true),
m_descendantNeedsPaintPropertyUpdate(true),
@@ -2404,7 +2397,6 @@ class CORE_EXPORT LayoutObject : public ImageResourceObserver,
HasPreviousLocationInBacking);
ADD_BOOLEAN_BITFIELD(hasPreviousSelectionVisualRect,
HasPreviousSelectionVisualRect);
- ADD_BOOLEAN_BITFIELD(hasPreviousBoxGeometries, HasPreviousBoxGeometries);
// Whether the paint properties need to be updated. For more details, see
// LayoutObject::needsPaintPropertyUpdate().
@@ -2431,7 +2423,7 @@ class CORE_EXPORT LayoutObject : public ImageResourceObserver,
protected:
// Use protected to avoid warning about unused variable.
- unsigned m_unusedBits : 4;
+ unsigned m_unusedBits : 5;
private:
// This is the cached 'position' value of this object
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutBox.cpp ('k') | third_party/WebKit/Source/core/paint/BoxPaintInvalidator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698