Index: third_party/WebKit/Source/core/paint/NinePieceImagePainter.h |
diff --git a/third_party/WebKit/Source/core/paint/NinePieceImagePainter.h b/third_party/WebKit/Source/core/paint/NinePieceImagePainter.h |
index 23b17a68aa64b5c27d096c755617e57387ac30d0..d296af08f463a6e855a72af98686eb7bc7890430 100644 |
--- a/third_party/WebKit/Source/core/paint/NinePieceImagePainter.h |
+++ b/third_party/WebKit/Source/core/paint/NinePieceImagePainter.h |
@@ -12,22 +12,27 @@ namespace blink { |
class ComputedStyle; |
class GraphicsContext; |
-class LayoutBoxModelObject; |
+class ImageResourceObserver; |
+class Node; |
class LayoutRect; |
class NinePieceImage; |
+class Document; |
class NinePieceImagePainter { |
STACK_ALLOCATED(); |
public: |
+ static bool Paint(GraphicsContext&, |
+ const ImageResourceObserver&, |
+ const Document&, |
+ Node*, |
+ const LayoutRect&, |
+ const ComputedStyle&, |
+ const NinePieceImage&, |
+ SkBlendMode = SkBlendMode::kSrcOver); |
+ |
+ private: |
NinePieceImagePainter() {} |
- |
- bool Paint(GraphicsContext&, |
- const LayoutBoxModelObject&, |
- const LayoutRect&, |
- const ComputedStyle&, |
- const NinePieceImage&, |
- SkBlendMode) const; |
}; |
} // namespace blink |