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

Unified Diff: third_party/WebKit/Source/core/paint/BoxPainter.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
« no previous file with comments | « third_party/WebKit/Source/core/paint/BoxBorderPainter.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/core/paint/BoxPainter.cpp
diff --git a/third_party/WebKit/Source/core/paint/BoxPainter.cpp b/third_party/WebKit/Source/core/paint/BoxPainter.cpp
index b0d1505db8d33813472dca8fb16293c1ab5a4936..7459bdb8795f46f6cb52d77692bfc8953f90f390 100644
--- a/third_party/WebKit/Source/core/paint/BoxPainter.cpp
+++ b/third_party/WebKit/Source/core/paint/BoxPainter.cpp
@@ -100,15 +100,6 @@ LayoutRect BoxPainter::BoundsForDrawingRecorder(
return bounds;
}
-namespace {
-
-bool BleedAvoidanceIsClipping(BackgroundBleedAvoidance bleed_avoidance) {
- return bleed_avoidance == kBackgroundBleedClipOnly ||
- bleed_avoidance == kBackgroundBleedClipLayer;
-}
-
-} // anonymous namespace
-
void BoxPainter::PaintBoxDecorationBackgroundWithRect(
const PaintInfo& paint_info,
const LayoutPoint& paint_offset,
« no previous file with comments | « third_party/WebKit/Source/core/paint/BoxBorderPainter.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698