Commit b2519c18 authored by apatrick@chromium.org's avatar apatrick@chromium.org

Fix clang build.

Review URL: http://codereview.chromium.org/7574023

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95522 0039d316-1c4b-4281-b951-d872f2087c98
parent 54175922
......@@ -130,6 +130,10 @@ void SelectionModel::Init(size_t start,
RenderText::~RenderText() {
}
void RenderText::set_display_rect(const Rect& r) {
display_rect_ = r;
}
void RenderText::SetText(const string16& text) {
size_t old_text_length = text_.length();
text_ = text;
......
......@@ -168,7 +168,7 @@ class UI_API RenderText {
void set_default_style(StyleRange style) { default_style_ = style; }
const Rect& display_rect() const { return display_rect_; }
virtual void set_display_rect(const Rect& r) { display_rect_ = r; }
virtual void set_display_rect(const Rect& r);
const Point& display_offset() const { return display_offset_; }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment