summaryrefslogtreecommitdiffstats
path: root/ui/gfx/render_text.h
diff options
context:
space:
mode:
authorxiyuan@chromium.org <xiyuan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-29 23:09:19 +0000
committerxiyuan@chromium.org <xiyuan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-29 23:09:19 +0000
commit25650681e39822b75080f481a7ca6e7ad621ed34 (patch)
tree21e4c84788ad79c4ef045d49ca3ca0750849f590 /ui/gfx/render_text.h
parentff5297bf7967d900a9f202ec51b1eaf979f5ec79 (diff)
downloadchromium_src-25650681e39822b75080f481a7ca6e7ad621ed34.zip
chromium_src-25650681e39822b75080f481a7ca6e7ad621ed34.tar.gz
chromium_src-25650681e39822b75080f481a7ca6e7ad621ed34.tar.bz2
Update std::vector<ShadowValue> 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
Diffstat (limited to 'ui/gfx/render_text.h')
-rw-r--r--ui/gfx/render_text.h6
1 files changed, 3 insertions, 3 deletions
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<ShadowValue>& shadows);
+ void SetTextShadows(const ShadowValues& shadows);
typedef std::pair<Font, ui::Range> 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<ShadowValue> text_shadows_;
+ ShadowValues text_shadows_;
DISALLOW_COPY_AND_ASSIGN(RenderText);
};