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

Unified Diff: third_party/WebKit/Source/core/paint/BoxBorderPainter.cpp

Issue 2606913002: Remove BoxBorderPainter::drawBleedAdjustedDRRect() assert (Closed)
Patch Set: relocate test Created 4 years 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/LayoutTests/paint/roundedrects/degenerate-radius-assert-expected.txt ('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/core/paint/BoxBorderPainter.cpp
diff --git a/third_party/WebKit/Source/core/paint/BoxBorderPainter.cpp b/third_party/WebKit/Source/core/paint/BoxBorderPainter.cpp
index 193907c429d457735e00e8ca8dc6c8e6b439d88b..c490280307c12fe2a13f444cb0c219c71e25a1ca 100644
--- a/third_party/WebKit/Source/core/paint/BoxBorderPainter.cpp
+++ b/third_party/WebKit/Source/core/paint/BoxBorderPainter.cpp
@@ -305,8 +305,6 @@ void drawBleedAdjustedDRRect(GraphicsContext& context,
// Based on this, we can avoid background bleeding by filling the
// *outside* of inner rrect, all the way to the layer bounds (enclosing
// int rect for the clip, in device space).
- DCHECK(outer.isRounded());
-
SkPath path;
path.addRRect(inner);
path.setFillType(SkPath::kInverseWinding_FillType);
« no previous file with comments | « third_party/WebKit/LayoutTests/paint/roundedrects/degenerate-radius-assert-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698