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

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

Issue 1833493003: Remove ForceHorriblySlowRectMapping (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@pi
Patch Set: Created 4 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 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 ae73f789eaf6bdcb3f8b59e707ca20cd4de99fbd..046892b3b146d33127059caa0efd73655b9b16ca 100644
--- a/third_party/WebKit/Source/core/layout/LayoutObject.h
+++ b/third_party/WebKit/Source/core/layout/LayoutObject.h
@@ -800,7 +800,6 @@ public:
// If |ancestor| and |ancestorSkipped| are not null, on return *ancestorSkipped
// is true if the layoutObject returned is an ancestor of |ancestor|.
LayoutObject* container(const LayoutBoxModelObject* ancestor = nullptr, bool* ancestorSkipped = nullptr) const;
- LayoutObject* containerCrossingFrameBoundaries() const;
// Finds the container as if this object is fixed-position.
LayoutBlock* containerForFixedPosition(const LayoutBoxModelObject* ancestor = nullptr, bool* ancestorSkipped = nullptr) const;
// Finds the containing block as if this object is absolute-position.
@@ -1612,7 +1611,7 @@ private:
// recomputeOverflow-capable. crbug.com/437012 and crbug.com/434700.
inline void markContainingBlocksForOverflowRecalc();
- inline void markContainerChainForPaintInvalidation();
+ inline void markAncestorsForPaintInvalidation();
inline void invalidateSelectionIfNeeded(const LayoutBoxModelObject& paintInvalidationContainer, const PaintInvalidationState&, PaintInvalidationReason);
@@ -1651,6 +1650,8 @@ private:
// The passed rect is mutated into the coordinate space of the paint invalidation container.
const LayoutBoxModelObject* invalidatePaintRectangleInternal(const LayoutRect&) const;
+ LayoutObject* parentCrossingFrameBoundaries() const;
+
static LayoutPoint uninitializedPaintOffset() { return LayoutPoint(LayoutUnit::max(), LayoutUnit::max()); }
RefPtr<ComputedStyle> m_style;

Powered by Google App Engine
This is Rietveld 408576698