diff options
author | xji@chromium.org <xji@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-13 20:47:04 +0000 |
---|---|---|
committer | xji@chromium.org <xji@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-13 20:47:04 +0000 |
commit | caa9e1e23f2dadcb33e531e23f0697efb41a3895 (patch) | |
tree | 006e80626be1a644cec94680dd16da003f3f16b2 /ui/gfx/render_text.h | |
parent | f91a420e470378bfa70882f3c58e4a80cf2302f4 (diff) | |
download | chromium_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.h | 5 |
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; |