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

Unified Diff: chrome/browser/chromeos/login/helper.cc

Issue 8122013: Allow CanvasSkia to bind to an existing SkCanvas. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: 1 more fix Created 9 years, 2 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: chrome/browser/chromeos/login/helper.cc
diff --git a/chrome/browser/chromeos/login/helper.cc b/chrome/browser/chromeos/login/helper.cc
index f561899dad7cb85ac483bc0971b748390330e6ec..4333af3096ceae79866a7f96f660243b0a21bdfc 100644
--- a/chrome/browser/chromeos/login/helper.cc
+++ b/chrome/browser/chromeos/login/helper.cc
@@ -62,7 +62,7 @@ class BackgroundPainter : public views::Painter {
NULL);
paint.setShader(s);
s->unref();
- canvas->AsCanvasSkia()->drawRect(rect, paint);
+ canvas->GetSkCanvas()->drawRect(rect, paint);
}
private:

Powered by Google App Engine
This is Rietveld 408576698