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/PaintInvalidationState.cpp

Issue 2436283002: Fix LayoutObject::mapLocalToAncestor() for fixed under absolute (Closed)
Patch Set: Rebaseline after rebase Created 4 years, 2 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
« no previous file with comments | « third_party/WebKit/Source/core/layout/MapCoordinatesTest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/layout/PaintInvalidationState.cpp
diff --git a/third_party/WebKit/Source/core/layout/PaintInvalidationState.cpp b/third_party/WebKit/Source/core/layout/PaintInvalidationState.cpp
index 5daa2a67b53539f117afbabeb3a8eac051904dba..b0c29719e53a1656b70386e24b3aa8cac523930a 100644
--- a/third_party/WebKit/Source/core/layout/PaintInvalidationState.cpp
+++ b/third_party/WebKit/Source/core/layout/PaintInvalidationState.cpp
@@ -249,14 +249,6 @@ void PaintInvalidationState::updateForCurrentObject(
EPosition position = m_currentObject.styleRef().position();
if (position == FixedPosition) {
- if (m_paintInvalidationContainer != m_currentObject.view() &&
- m_paintInvalidationContainer->view() == m_currentObject.view()) {
- // TODO(crbug.com/598762): localToAncestorPoint() is incorrect for
- // fixed-position when paintInvalidationContainer is under the containing
- // LayoutView.
- m_cachedOffsetsEnabled = false;
- return;
- }
// Use slow path to get the offset of the fixed-position, and enable fast
// path for descendants.
FloatPoint fixedOffset = m_currentObject.localToAncestorPoint(
« no previous file with comments | « third_party/WebKit/Source/core/layout/MapCoordinatesTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698