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

Unified Diff: Source/core/layout/LayoutView.cpp

Issue 1308033003: Use enclosingIntRect instead of pixelSnappedIntRect to expand invalidation. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: another virtual/spv2/ test appears 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
Index: Source/core/layout/LayoutView.cpp
diff --git a/Source/core/layout/LayoutView.cpp b/Source/core/layout/LayoutView.cpp
index 6d382e74a7b20b63b47724a53c4b8287df0b300c..45582708eaa583505b9eebc297d7b62d6199eda4 100644
--- a/Source/core/layout/LayoutView.cpp
+++ b/Source/core/layout/LayoutView.cpp
@@ -416,7 +416,7 @@ void LayoutView::invalidatePaintForRectangle(const LayoutRect& paintInvalidation
if (layer()->compositingState() == PaintsIntoOwnBacking) {
setBackingNeedsPaintInvalidationInRect(paintInvalidationRect, invalidationReason);
} else {
- m_frameView->contentRectangleForPaintInvalidation(pixelSnappedIntRect(paintInvalidationRect));
+ m_frameView->contentRectangleForPaintInvalidation(enclosingIntRect(paintInvalidationRect));
}
}
« no previous file with comments | « Source/core/layout/LayoutBoxModelObject.cpp ('k') | Source/core/layout/compositing/CompositedDeprecatedPaintLayerMapping.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698