Index: third_party/WebKit/Source/core/paint/BoxPainter.h |
diff --git a/third_party/WebKit/Source/core/paint/BoxPainter.h b/third_party/WebKit/Source/core/paint/BoxPainter.h |
index 09852b21d0fcb0d2ca8a69ebe9245c4fc1c09f51..438beca4ad3f2a72959d521127d59c227e97ef50 100644 |
--- a/third_party/WebKit/Source/core/paint/BoxPainter.h |
+++ b/third_party/WebKit/Source/core/paint/BoxPainter.h |
@@ -38,8 +38,8 @@ public: |
void paintMaskImages(const PaintInfo&, const LayoutRect&); |
void paintBoxDecorationBackgroundWithRect(const PaintInfo&, const LayoutPoint&, const LayoutRect&); |
static void paintFillLayerExtended(const LayoutBoxModelObject&, const PaintInfo&, const Color&, const FillLayer&, const LayoutRect&, BackgroundBleedAvoidance, const InlineFlowBox* = nullptr, const LayoutSize& = LayoutSize(), SkXfermode::Mode = SkXfermode::kSrcOver_Mode, const LayoutObject* backgroundObject = nullptr); |
- static InterpolationQuality chooseInterpolationQuality(const LayoutObject&, GraphicsContext*, Image*, const void*, const LayoutSize&); |
- static bool paintNinePieceImage(const LayoutBoxModelObject&, GraphicsContext*, const LayoutRect&, const ComputedStyle&, const NinePieceImage&, SkXfermode::Mode = SkXfermode::kSrcOver_Mode); |
+ static InterpolationQuality chooseInterpolationQuality(const LayoutObject&, Image*, const void*, const LayoutSize&); |
+ static bool paintNinePieceImage(const LayoutBoxModelObject&, GraphicsContext&, const LayoutRect&, const ComputedStyle&, const NinePieceImage&, SkXfermode::Mode = SkXfermode::kSrcOver_Mode); |
static void paintBorder(const LayoutBoxModelObject&, const PaintInfo&, const LayoutRect&, const ComputedStyle&, BackgroundBleedAvoidance = BackgroundBleedNone, bool includeLogicalLeftEdge = true, bool includeLogicalRightEdge = true); |
static void paintBoxShadow(const PaintInfo&, const LayoutRect&, const ComputedStyle&, ShadowStyle, bool includeLogicalLeftEdge = true, bool includeLogicalRightEdge = true); |
static bool shouldForceWhiteBackgroundForPrintEconomy(const ComputedStyle&, const Document&); |
@@ -50,7 +50,7 @@ private: |
static FloatRoundedRect backgroundRoundedRectAdjustedForBleedAvoidance(const LayoutObject&, const LayoutRect&, BackgroundBleedAvoidance, const InlineFlowBox*, const LayoutSize&, bool includeLogicalLeftEdge, bool includeLogicalRightEdge); |
static FloatRoundedRect getBackgroundRoundedRect(const LayoutObject&, const LayoutRect&, const InlineFlowBox*, LayoutUnit inlineBoxWidth, LayoutUnit inlineBoxHeight, |
bool includeLogicalLeftEdge, bool includeLogicalRightEdge); |
- static void applyBoxShadowForBackground(GraphicsContext*, const LayoutObject&); |
+ static void applyBoxShadowForBackground(GraphicsContext&, const LayoutObject&); |
LayoutRect boundsForDrawingRecorder(const LayoutPoint& paintOffset); |