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

Unified Diff: third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp

Issue 2380403002: Use enclosingLayoutRect instead of enclosingIntRect in SVGLayoutSupport::transformPaintInvalidation… (Closed)
Patch Set: Remove an unrelated test rebaseline 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
Index: third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp
diff --git a/third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp b/third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp
index b833d35d20a254c571f058f944cd427c20e3642c..e8cac66ad02d914d4945ccd106d76931825f8908 100644
--- a/third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp
+++ b/third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp
@@ -112,7 +112,7 @@ LayoutRect SVGLayoutSupport::transformPaintInvalidationRect(
if (adjustedRect.isEmpty())
return LayoutRect();
- return LayoutRect(enclosingIntRect(adjustedRect));
+ return enclosingLayoutRect(adjustedRect);
}
static const LayoutSVGRoot& computeTransformToSVGRoot(

Powered by Google App Engine
This is Rietveld 408576698