Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(527)

Unified Diff: ui/views/controls/label_unittest.cc

Issue 2877483003: Implements core logic for Pixel Canvas (Closed)
Patch Set: Resolving comments Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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:

Powered by Google App Engine
This is Rietveld 408576698