| Index: chrome/browser/ui/views/autocomplete/autocomplete_result_view.h
|
| diff --git a/chrome/browser/ui/views/autocomplete/autocomplete_result_view.h b/chrome/browser/ui/views/autocomplete/autocomplete_result_view.h
|
| index 7d79dfde481b39f53735fe7111b72d6bccf1dac7..d4a00cc0e93125d02b7b59faa8b74ff8b09ebe4d 100644
|
| --- a/chrome/browser/ui/views/autocomplete/autocomplete_result_view.h
|
| +++ b/chrome/browser/ui/views/autocomplete/autocomplete_result_view.h
|
| @@ -18,7 +18,7 @@
|
| class AutocompleteResultViewModel;
|
|
|
| namespace gfx {
|
| -class Canvas;
|
| +class CanvasSkia;
|
| }
|
|
|
| class AutocompleteResultView : public views::View,
|
| @@ -60,7 +60,7 @@ class AutocompleteResultView : public views::View,
|
| virtual gfx::Size GetPreferredSize() OVERRIDE;
|
|
|
| protected:
|
| - virtual void PaintMatch(gfx::Canvas* canvas,
|
| + virtual void PaintMatch(gfx::CanvasSkia* canvas,
|
| const AutocompleteMatch& match,
|
| int x);
|
|
|
| @@ -72,7 +72,7 @@ class AutocompleteResultView : public views::View,
|
| // |classifications|. If |force_dim| is true, ACMatchClassification::DIM is
|
| // added to all of the classifications. Returns the x position to the right
|
| // of the string.
|
| - int DrawString(gfx::Canvas* canvas,
|
| + int DrawString(gfx::CanvasSkia* canvas,
|
| const string16& text,
|
| const ACMatchClassifications& classifications,
|
| bool force_dim,
|
| @@ -115,7 +115,7 @@ class AutocompleteResultView : public views::View,
|
| // views::View:
|
| virtual void Layout() OVERRIDE;
|
| virtual void OnBoundsChanged(const gfx::Rect& previous_bounds) OVERRIDE;
|
| - virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE;
|
| + virtual void OnPaint(gfx::CanvasSkia* canvas) OVERRIDE;
|
|
|
| // ui::AnimationDelegate:
|
| virtual void AnimationProgressed(const ui::Animation* animation) OVERRIDE;
|
|
|