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

Unified Diff: chrome/browser/ui/views/sad_tab_view.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: chrome/browser/ui/views/sad_tab_view.cc
diff --git a/chrome/browser/ui/views/sad_tab_view.cc b/chrome/browser/ui/views/sad_tab_view.cc
index 6c347d01b54aaf9f57f8af8daf0dea1b62b50b59..8d05c217bdaaab4da0aa952bb89967f315d8cb93 100644
--- a/chrome/browser/ui/views/sad_tab_view.cc
+++ b/chrome/browser/ui/views/sad_tab_view.cc
@@ -177,7 +177,7 @@ void SadTabView::ViewHierarchyChanged(bool is_add,
layout->AddPaddingRow(1, kPadding);
}
-void SadTabView::OnPaint(gfx::Canvas* canvas) {
+void SadTabView::OnPaint(gfx::CanvasSkia* canvas) {
if (!painted_) {
// User actually saw the error, keep track for user experience stats.
UMA_HISTOGRAM_COUNTS("SadTab.Displayed", kind_);

Powered by Google App Engine
This is Rietveld 408576698