summaryrefslogtreecommitdiffstats
path: root/ui/gfx/render_text.h
diff options
context:
space:
mode:
authorxji@chromium.org <xji@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-13 20:47:04 +0000
committerxji@chromium.org <xji@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-13 20:47:04 +0000
commitcaa9e1e23f2dadcb33e531e23f0697efb41a3895 (patch)
tree006e80626be1a644cec94680dd16da003f3f16b2 /ui/gfx/render_text.h
parentf91a420e470378bfa70882f3c58e4a80cf2302f4 (diff)
downloadchromium_src-caa9e1e23f2dadcb33e531e23f0697efb41a3895.zip
chromium_src-caa9e1e23f2dadcb33e531e23f0697efb41a3895.tar.gz
chromium_src-caa9e1e23f2dadcb33e531e23f0697efb41a3895.tar.bz2
Rename UpdateLayout() to ResetLayout() which is more accurate.
Review URL: http://codereview.chromium.org/9691002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126460 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/gfx/render_text.h')
-rw-r--r--ui/gfx/render_text.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/ui/gfx/render_text.h b/ui/gfx/render_text.h
index 6442ab8..d5ae4dd 100644
--- a/ui/gfx/render_text.h
+++ b/ui/gfx/render_text.h
@@ -299,9 +299,8 @@ class UI_EXPORT RenderText {
// which means it is a grapheme boundary or the first character in the text.
virtual bool IsCursorablePosition(size_t position) = 0;
- // Update the layout so that the next draw request can correctly
- // render the text and its attributes.
- virtual void UpdateLayout() = 0;
+ // Reset the layout to be invalid.
+ virtual void ResetLayout() = 0;
// Ensure the text is laid out.
virtual void EnsureLayout() = 0;