From 25650681e39822b75080f481a7ca6e7ad621ed34 Mon Sep 17 00:00:00 2001 From: "xiyuan@chromium.org" Date: Tue, 29 May 2012 23:09:19 +0000 Subject: Update std::vector to ShadowValues. This is a follow-up clean up for http://crrev.com/139162. BUG=none. TEST=none. Review URL: https://chromiumcodereview.appspot.com/10453057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139412 0039d316-1c4b-4281-b951-d872f2087c98 --- ui/gfx/render_text.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ui/gfx/render_text.h') diff --git a/ui/gfx/render_text.h b/ui/gfx/render_text.h index f50c1d1..0646e7d 100644 --- a/ui/gfx/render_text.h +++ b/ui/gfx/render_text.h @@ -22,6 +22,7 @@ #include "ui/gfx/point.h" #include "ui/gfx/rect.h" #include "ui/gfx/selection_model.h" +#include "ui/gfx/shadow_value.h" class SkCanvas; class SkDrawLooper; @@ -34,7 +35,6 @@ namespace gfx { class Canvas; class Font; class RenderTextTest; -class ShadowValue; struct StyleRange; namespace internal { @@ -277,7 +277,7 @@ class UI_EXPORT RenderText { SelectionModel GetSelectionModelForSelectionStart(); // Sets shadows to drawn with text. - void SetTextShadows(const std::vector& shadows); + void SetTextShadows(const ShadowValues& shadows); typedef std::pair FontSpan; // For testing purposes, returns which fonts were chosen for which parts of @@ -483,7 +483,7 @@ class UI_EXPORT RenderText { bool cached_bounds_and_offset_valid_; // Text shadows to be drawn. - std::vector text_shadows_; + ShadowValues text_shadows_; DISALLOW_COPY_AND_ASSIGN(RenderText); }; -- cgit v1.1