| Index: ui/views/border.h
|
| diff --git a/ui/views/border.h b/ui/views/border.h
|
| index 1afc55c8bc5ad7a5882ac7c10f0688ce9773093a..d30cc7ca0b00e2882b2b5288d9b058a98fa3858d 100644
|
| --- a/ui/views/border.h
|
| +++ b/ui/views/border.h
|
| @@ -73,11 +73,11 @@ class VIEWS_EXPORT Border {
|
| int right,
|
| SkColor color);
|
|
|
| - // Creates a Border from the specified Painter. The border owns the painter,
|
| - // thus the painter is deleted when the Border is deleted.
|
| + // Creates a Border from the specified Painter.
|
| // |insets| define size of an area allocated for a Border.
|
| - static std::unique_ptr<Border> CreateBorderPainter(Painter* painter,
|
| - const gfx::Insets& insets);
|
| + static std::unique_ptr<Border> CreateBorderPainter(
|
| + std::unique_ptr<Painter> painter,
|
| + const gfx::Insets& insets);
|
|
|
| // Renders the border for the specified view.
|
| virtual void Paint(const View& view, gfx::Canvas* canvas) = 0;
|
|
|