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

Unified Diff: Source/core/paint/DeprecatedPaintLayer.cpp

Issue 1312423006: Remove dependency on m_previousPositionFromPaintInvalidationBacking for spv2 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update TestExpectations Created 5 years, 3 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 | « Source/core/layout/LayoutObject.cpp ('k') | Source/core/paint/LayoutObjectDrawingRecorder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/paint/DeprecatedPaintLayer.cpp
diff --git a/Source/core/paint/DeprecatedPaintLayer.cpp b/Source/core/paint/DeprecatedPaintLayer.cpp
index a6910903494bb73eb9589e1e45d8fa037179bec1..04fc6d3dcf3aa410f1ab5a3a153157026db2d899 100644
--- a/Source/core/paint/DeprecatedPaintLayer.cpp
+++ b/Source/core/paint/DeprecatedPaintLayer.cpp
@@ -775,8 +775,11 @@ bool DeprecatedPaintLayer::updateLayerPosition()
// FIXME: We'd really like to just get rid of the concept of a layer rectangle and rely on the layoutObjects.
localPoint.moveBy(-inlineBoundingBoxOffset);
- if (m_location != localPoint)
+ if (m_location != localPoint) {
positionOrOffsetChanged = true;
+ if (RuntimeEnabledFeatures::slimmingPaintV2Enabled())
+ setNeedsRepaint();
+ }
m_location = localPoint;
#if ENABLE(ASSERT)
« no previous file with comments | « Source/core/layout/LayoutObject.cpp ('k') | Source/core/paint/LayoutObjectDrawingRecorder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698