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

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: Add markdown, etc. 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 9a833b488ea0c1837e14b31b9a1f301865e6d40d..a4aad724a7a6c459a992f679f049b6b8cfe086d4 100644
--- a/third_party/WebKit/Source/core/layout/LayoutObject.h
+++ b/third_party/WebKit/Source/core/layout/LayoutObject.h
@@ -795,7 +795,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.
@@ -1607,7 +1606,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);
@@ -1646,6 +1645,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