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

Side by Side Diff: third_party/WebKit/Source/core/paint/FindPropertiesNeedingUpdate.h

Issue 2736463002: [SPv2] Fix property node invalidation for CSS masks (Closed)
Patch Set: Avoid SVGRoot can of worms Created 3 years, 9 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef FindPropertiesNeedingUpdate_h 5 #ifndef FindPropertiesNeedingUpdate_h
6 #define FindPropertiesNeedingUpdate_h 6 #define FindPropertiesNeedingUpdate_h
7 7
8 #if DCHECK_IS_ON() 8 #if DCHECK_IS_ON()
9 namespace blink { 9 namespace blink {
10 10
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 &m_object.paintOffset()); 135 &m_object.paintOffset());
136 const auto* objectProperties = m_object.paintProperties(); 136 const auto* objectProperties = m_object.paintProperties();
137 if (m_originalProperties && objectProperties) { 137 if (m_originalProperties && objectProperties) {
138 DCHECK_OBJECT_PROPERTY_EQ(m_object, 138 DCHECK_OBJECT_PROPERTY_EQ(m_object,
139 m_originalProperties->paintOffsetTranslation(), 139 m_originalProperties->paintOffsetTranslation(),
140 objectProperties->paintOffsetTranslation()); 140 objectProperties->paintOffsetTranslation());
141 DCHECK_OBJECT_PROPERTY_EQ(m_object, m_originalProperties->transform(), 141 DCHECK_OBJECT_PROPERTY_EQ(m_object, m_originalProperties->transform(),
142 objectProperties->transform()); 142 objectProperties->transform());
143 DCHECK_OBJECT_PROPERTY_EQ(m_object, m_originalProperties->effect(), 143 DCHECK_OBJECT_PROPERTY_EQ(m_object, m_originalProperties->effect(),
144 objectProperties->effect()); 144 objectProperties->effect());
145 DCHECK_OBJECT_PROPERTY_EQ(m_object, m_originalProperties->filter(),
146 objectProperties->filter());
147 DCHECK_OBJECT_PROPERTY_EQ(m_object, m_originalProperties->mask(),
148 objectProperties->mask());
149 DCHECK_OBJECT_PROPERTY_EQ(m_object, m_originalProperties->maskClip(),
150 objectProperties->maskClip());
145 DCHECK_OBJECT_PROPERTY_EQ(m_object, m_originalProperties->cssClip(), 151 DCHECK_OBJECT_PROPERTY_EQ(m_object, m_originalProperties->cssClip(),
146 objectProperties->cssClip()); 152 objectProperties->cssClip());
147 DCHECK_OBJECT_PROPERTY_EQ(m_object, 153 DCHECK_OBJECT_PROPERTY_EQ(m_object,
148 m_originalProperties->cssClipFixedPosition(), 154 m_originalProperties->cssClipFixedPosition(),
149 objectProperties->cssClipFixedPosition()); 155 objectProperties->cssClipFixedPosition());
150 DCHECK_OBJECT_PROPERTY_EQ(m_object, 156 DCHECK_OBJECT_PROPERTY_EQ(m_object,
151 m_originalProperties->innerBorderRadiusClip(), 157 m_originalProperties->innerBorderRadiusClip(),
152 objectProperties->innerBorderRadiusClip()); 158 objectProperties->innerBorderRadiusClip());
153 DCHECK_OBJECT_PROPERTY_EQ(m_object, m_originalProperties->overflowClip(), 159 DCHECK_OBJECT_PROPERTY_EQ(m_object, m_originalProperties->overflowClip(),
154 objectProperties->overflowClip()); 160 objectProperties->overflowClip());
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 bool m_neededPaintPropertyUpdate; 197 bool m_neededPaintPropertyUpdate;
192 bool m_neededForcedSubtreeUpdate; 198 bool m_neededForcedSubtreeUpdate;
193 LayoutPoint m_originalPaintOffset; 199 LayoutPoint m_originalPaintOffset;
194 std::unique_ptr<const ObjectPaintProperties> m_originalProperties; 200 std::unique_ptr<const ObjectPaintProperties> m_originalProperties;
195 }; 201 };
196 202
197 } // namespace blink 203 } // namespace blink
198 #endif // DCHECK_IS_ON() 204 #endif // DCHECK_IS_ON()
199 205
200 #endif // FindPropertiesNeedingUpdate_h 206 #endif // FindPropertiesNeedingUpdate_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutBox.cpp ('k') | third_party/WebKit/Source/core/paint/ObjectPaintProperties.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698