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

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

Issue 2442283002: Remove unused hasPendingResourceUpdate bit from LayoutObject. (Closed)
Patch Set: Created 4 years, 2 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 c4cf35150e68a740cc9b2c61775d1e1e8db32475..26d51aea3403866ad92912d7c70447857e3359e5 100644
--- a/third_party/WebKit/Source/core/layout/LayoutObject.h
+++ b/third_party/WebKit/Source/core/layout/LayoutObject.h
@@ -1014,12 +1014,6 @@ class CORE_EXPORT LayoutObject : public ImageResourceObserver,
// 'width' set to auto.
virtual void layout() = 0;
virtual bool updateImageLoadingPriorities() { return false; }
- void setHasPendingResourceUpdate(bool hasPendingResourceUpdate) {
- m_bitfields.setHasPendingResourceUpdate(hasPendingResourceUpdate);
- }
- bool hasPendingResourceUpdate() const {
- return m_bitfields.hasPendingResourceUpdate();
- }
void handleSubtreeModifications();
virtual void subtreeDidChange() {}
@@ -2107,7 +2101,6 @@ class CORE_EXPORT LayoutObject : public ImageResourceObserver,
m_hasCounterNodeMap(false),
m_everHadLayout(false),
m_ancestorLineBoxDirty(false),
- m_hasPendingResourceUpdate(false),
m_isInsideFlowThread(false),
m_subtreeChangeListenerRegistered(false),
m_notifiedOfSubtreeChange(false),
@@ -2125,7 +2118,7 @@ class CORE_EXPORT LayoutObject : public ImageResourceObserver,
m_backgroundObscurationState(BackgroundObscurationStatusInvalid),
m_fullPaintInvalidationReason(PaintInvalidationNone) {}
- // 32 bits have been used in the first word, and 18 in the second.
+ // 32 bits have been used in the first word, and 19 in the second.
// Self needs layout means that this layout object is marked for a full
// layout. This is the default layout but it is expensive as it recomputes
@@ -2246,8 +2239,6 @@ class CORE_EXPORT LayoutObject : public ImageResourceObserver,
ADD_BOOLEAN_BITFIELD(everHadLayout, EverHadLayout);
ADD_BOOLEAN_BITFIELD(ancestorLineBoxDirty, AncestorLineBoxDirty);
- ADD_BOOLEAN_BITFIELD(hasPendingResourceUpdate, HasPendingResourceUpdate);
-
ADD_BOOLEAN_BITFIELD(isInsideFlowThread, IsInsideFlowThread);
ADD_BOOLEAN_BITFIELD(subtreeChangeListenerRegistered,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698