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

Unified Diff: third_party/WebKit/Source/platform/graphics/paint/GeometryMapper.cpp

Issue 2650903002: Ignore scroll node when checking whether a chunk can merge. (Closed)
Patch Set: Created 3 years, 11 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/platform/graphics/paint/GeometryMapper.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/paint/GeometryMapper.cpp b/third_party/WebKit/Source/platform/graphics/paint/GeometryMapper.cpp
index cc7854111ea84efcb9a12934c3138dadf4c2f528..eed1b3e6df7fb0d8c7c4b4ccc680b004d7377214 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/GeometryMapper.cpp
+++ b/third_party/WebKit/Source/platform/graphics/paint/GeometryMapper.cpp
@@ -87,6 +87,8 @@ FloatRect GeometryMapper::localToAncestorVisualRectInternal(
const PropertyTreeState& localState,
const PropertyTreeState& ancestorState,
bool& success) {
+ // TODO(wkorman): Consider using PropertyTreeState::equivalentGeometry() so as
+ // to ignore scroll node diff for comparison purposes.
if (localState == ancestorState) {
success = true;
return rect;

Powered by Google App Engine
This is Rietveld 408576698