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

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

Issue 1861003003: VisualRectMappingTest (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Optional
Patch Set: Created 4 years, 8 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/PaintInvalidationState.h
diff --git a/third_party/WebKit/Source/core/layout/PaintInvalidationState.h b/third_party/WebKit/Source/core/layout/PaintInvalidationState.h
index 8852577077d4d4608ad84f690e10d655e755f1a7..eb58989185375e70bb0d3986d371f3769c24001a 100644
--- a/third_party/WebKit/Source/core/layout/PaintInvalidationState.h
+++ b/third_party/WebKit/Source/core/layout/PaintInvalidationState.h
@@ -81,14 +81,14 @@ public:
#endif
private:
+ friend class VisualRectMappingTest;
+
void updateForNormalChildren();
LayoutRect computePaintInvalidationRectInBackingForSVG() const;
void addClipRectRelativeToPaintOffset(const LayoutRect& localClipRect);
- friend class ForceHorriblySlowRectMapping;
-
const LayoutObject& m_currentObject;
bool m_forcedSubtreeInvalidationWithinContainer;
@@ -108,7 +108,7 @@ private:
// Whether m_paintOffset[XXX] and m_clipRect[XXX] are valid and can be used
// to map a rect from space of the current object to space of paintInvalidationContainer.
- mutable bool m_cachedOffsetsEnabled;
+ bool m_cachedOffsetsEnabled;
bool m_cachedOffsetsForAbsolutePositionEnabled;
// The following two fields are never null. Declare them as pointers because we need some

Powered by Google App Engine
This is Rietveld 408576698