Updates the layout text when multiline property has been changed.
commit9b589eef280cf8ca934903d0613157ad8b5c0379
authormukai <mukai@chromium.org>
Fri, 20 Feb 2015 01:02:14 +0000 (19 17:02 -0800)
committerCommit bot <commit-bot@chromium.org>
Fri, 20 Feb 2015 01:02:49 +0000 (20 01:02 +0000)
treed2391300e5434340641582029b0e3f5c4f8ee71c
parentfd14ecf5c6dcd2b09001f3e86f31e9e1b2a11ccf
Updates the layout text when multiline property has been changed.

The newline characters are replaced by visible simbols when
multiline property is not set. Thus setting multiline property
updates the layout text again, otherwise it's not rendered properly.

BUG=248597
R=msw@chromium.org
TEST=the new test case covers

Review URL: https://codereview.chromium.org/935083004

Cr-Commit-Position: refs/heads/master@{#317203}
ui/gfx/render_text.cc
ui/gfx/render_text_unittest.cc