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..63bf89141d0bffe45dcc0504ffd0f1d605a53a19 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(ui::CanvasPainter(&bitmap, bounds().size(), 1.f, color, false) |
+ .context(), |
+ bounds().size())); |
} |
// View: |