| Index: ui/views/controls/label_unittest.cc
|
| diff --git a/ui/views/controls/label_unittest.cc b/ui/views/controls/label_unittest.cc
|
| index b2cf18f40af33cd90f68fcf474cd6172c451a432..3dab5c898e7d56c05ed365b173bbf6d83ee77029 100644
|
| --- a/ui/views/controls/label_unittest.cc
|
| +++ b/ui/views/controls/label_unittest.cc
|
| @@ -56,7 +56,10 @@ class TestLabel : public Label {
|
| void SimulatePaint() {
|
| SkBitmap bitmap;
|
| SkColor color = SK_ColorTRANSPARENT;
|
| - Paint(ui::CanvasPainter(&bitmap, bounds().size(), 1.f, color).context());
|
| + Paint(PaintInfo::CreateRootPaintInfo(
|
| + ui::CanvasPainter(&bitmap, bounds().size(), 1.f, color, false)
|
| + .context(),
|
| + bounds().size()));
|
| }
|
|
|
| // View:
|
|
|