Don't reset the layout on RenderText display rect width change.
Previously, I thought width was used in layout in render_text_linux.cc, but it turns out that the width that's passed in to SetupPangoLayout() gets cleared right after. So the width of the display rect does not actually affect layout and thus does not need to cause the layout to be reset. BUG=137064 TEST=No behavior change. Review URL: https://chromiumcodereview.appspot.com/10829261 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150908 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment