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

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

Issue 2863083002: Avoid duplicating the BleedAvoidanceIsClipping function in Blink paint (Closed)
Patch Set: Created 3 years, 7 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/paint/BoxBorderPainter.cpp
diff --git a/third_party/WebKit/Source/core/paint/BoxBorderPainter.cpp b/third_party/WebKit/Source/core/paint/BoxBorderPainter.cpp
index 404322f33ade458bc3e109a046d9f9ec8040df7c..0aef28940af4ff5b3498e96c200f21cef38e338a 100644
--- a/third_party/WebKit/Source/core/paint/BoxBorderPainter.cpp
+++ b/third_party/WebKit/Source/core/paint/BoxBorderPainter.cpp
@@ -334,11 +334,6 @@ void DrawBleedAdjustedDRRect(GraphicsContext& context,
}
}
-bool BleedAvoidanceIsClipping(BackgroundBleedAvoidance bleed_avoidance) {
- return bleed_avoidance == kBackgroundBleedClipOnly ||
- bleed_avoidance == kBackgroundBleedClipLayer;
-}
-
// The LUTs below assume specific enum values.
static_assert(kBorderStyleNone == 0, "unexpected EBorderStyle value");
static_assert(kBorderStyleHidden == 1, "unexpected EBorderStyle value");
« no previous file with comments | « third_party/WebKit/Source/core/layout/BackgroundBleedAvoidance.h ('k') | third_party/WebKit/Source/core/paint/BoxPainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698