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

Unified Diff: chrome/browser/ui/views/infobars/infobar_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/infobars/infobar_view.cc
diff --git a/chrome/browser/ui/views/infobars/infobar_view.cc b/chrome/browser/ui/views/infobars/infobar_view.cc
index 516ae91e35d849aa4e03b87fd8e0d49b666f5614..3cd149c52fb6f241f516f64fb29628db796b3cb4 100644
--- a/chrome/browser/ui/views/infobars/infobar_view.cc
+++ b/chrome/browser/ui/views/infobars/infobar_view.cc
@@ -249,8 +249,7 @@ void InfoBarView::PaintChildren(gfx::Canvas* canvas) {
// broken on non-Windows platforms (crbug.com/75154). For now, just clip to
// the bar bounds.
//
- // gfx::CanvasSkia* canvas_skia = canvas->AsCanvasSkia();
- // canvas_skia->clipPath(fill_path_);
+ // canvas->clipPath(fill_path_);
DCHECK_EQ(total_height(), height())
<< "Infobar piecewise heights do not match overall height";
canvas->ClipRect(gfx::Rect(0, arrow_height(), width(), bar_height()));

Powered by Google App Engine
This is Rietveld 408576698