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

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

Issue 9562038: ui/gfx: Make gfx::Canvas inherit from gfx::CanvasSkia. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more fixes Created 8 years, 10 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/progress_bar.cc
diff --git a/ui/views/controls/progress_bar.cc b/ui/views/controls/progress_bar.cc
index 3abc820fc86601627aa143f1f200064b7fa9fe3d..02b3e9177d51951224f01871c1809a51ea2d8bd2 100644
--- a/ui/views/controls/progress_bar.cc
+++ b/ui/views/controls/progress_bar.cc
@@ -188,7 +188,7 @@ std::string ProgressBar::GetClassName() const {
return kViewClassName;
}
-void ProgressBar::OnPaint(gfx::Canvas* canvas) {
+void ProgressBar::OnPaint(gfx::CanvasSkia* canvas) {
const double capped_value = std::min(
std::max(current_value_, min_display_value_), max_display_value_);
const double capped_fraction =

Powered by Google App Engine
This is Rietveld 408576698