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

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

Issue 2699593006: Refactor to remove need for infiniteIntRect when computing rects in pre-paint (Closed)
Patch Set: none Created 3 years, 10 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/platform/graphics/paint/GeometryMapper.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/platform/graphics/paint/GeometryMapperTest.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/paint/GeometryMapperTest.cpp b/third_party/WebKit/Source/platform/graphics/paint/GeometryMapperTest.cpp
index f4a913e962cd5eafce12c7cad6a8199298088e4d..528b271dcd5fc93ceee3a4f9d350201273be610b 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/GeometryMapperTest.cpp
+++ b/third_party/WebKit/Source/platform/graphics/paint/GeometryMapperTest.cpp
@@ -365,7 +365,7 @@ TEST_F(GeometryMapperTest, RoundedClip) {
FloatRect output(10, 10, 50, 50);
FloatClipRect expectedClip(clip->clipRect().rect());
- expectedClip.setHasRadius(true);
+ expectedClip.setHasRadius();
bool hasRadius = true;
CHECK_MAPPINGS(input, // Input
@@ -400,7 +400,7 @@ TEST_F(GeometryMapperTest, TwoClips) {
FloatRect output1(10, 10, 30, 40);
FloatClipRect clipRect(clip1->clipRect().rect());
- clipRect.setHasRadius(true);
+ clipRect.setHasRadius();
bool hasRadius = true;
CHECK_MAPPINGS(input, // Input
@@ -453,7 +453,7 @@ TEST_F(GeometryMapperTest, TwoClipsTransformAbove) {
FloatRect output1(10, 10, 30, 40);
FloatClipRect expectedClip(clip2->clipRect().rect());
- expectedClip.setHasRadius(true);
+ expectedClip.setHasRadius();
bool hasRadius = true;
CHECK_MAPPINGS(input, // Input
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/paint/GeometryMapper.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698