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

Side by Side Diff: third_party/WebKit/Source/core/layout/PaintInvalidationState.h

Issue 1934863002: Revert of Don't assert rect mapping result if impossible, and enable assert in debug build (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@SVGRootClip
Patch Set: Created 4 years, 7 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 PaintInvalidationState_h 5 #ifndef PaintInvalidationState_h
6 #define PaintInvalidationState_h 6 #define PaintInvalidationState_h
7 7
8 #include "core/CoreExport.h" 8 #include "core/CoreExport.h"
9 #include "platform/geometry/LayoutRect.h" 9 #include "platform/geometry/LayoutRect.h"
10 #include "platform/transforms/AffineTransform.h" 10 #include "platform/transforms/AffineTransform.h"
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 // with |m_paintOffset| yields the "final" offset. 135 // with |m_paintOffset| yields the "final" offset.
136 AffineTransform m_svgTransform; 136 AffineTransform m_svgTransform;
137 137
138 Vector<LayoutObject*>& m_pendingDelayedPaintInvalidations; 138 Vector<LayoutObject*>& m_pendingDelayedPaintInvalidations;
139 139
140 PaintLayer& m_enclosingSelfPaintingLayer; 140 PaintLayer& m_enclosingSelfPaintingLayer;
141 141
142 #if ENABLE(ASSERT) 142 #if ENABLE(ASSERT)
143 bool m_didUpdateForChildren; 143 bool m_didUpdateForChildren;
144 #endif 144 #endif
145
146 #if ENABLE(ASSERT) && !defined(NDEBUG)
147 #define CHECK_FAST_PATH_SLOW_PATH_EQUALITY
148 void assertFastPathAndSlowPathRectsEqual(const LayoutRect& fastPathRect, con st LayoutRect& slowPathRect) const;
149 bool m_canCheckFastPathSlowPathEquality;
150 #endif
151 }; 145 };
152 146
153 } // namespace blink 147 } // namespace blink
154 148
155 #endif // PaintInvalidationState_h 149 #endif // PaintInvalidationState_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutView.cpp ('k') | third_party/WebKit/Source/core/layout/PaintInvalidationState.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698