diff options
author | ckocagil@chromium.org <ckocagil@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-26 17:46:20 +0000 |
---|---|---|
committer | ckocagil@chromium.org <ckocagil@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-26 17:46:20 +0000 |
commit | 8f61914919ce717ef09edeaa21b217e2f737061f (patch) | |
tree | 9170b31bb794ab1e7ab10ab9e6e1f8c9ddc705b3 /chrome/browser/chromeos/settings/device_settings_service.cc | |
parent | 446cbb7551632e737d32998107b652e37a2f5ca7 (diff) | |
download | chromium_src-8f61914919ce717ef09edeaa21b217e2f737061f.zip chromium_src-8f61914919ce717ef09edeaa21b217e2f737061f.tar.gz chromium_src-8f61914919ce717ef09edeaa21b217e2f737061f.tar.bz2 |
Initialize TextRun::logical_clusters when ScriptShape fails
We shouldn't rely on any output parameters of ScriptShape if it doesn't return S_OK (see http://msdn.microsoft.com/en-us/library/windows/desktop/dd368564(v=vs.85).aspx). This change makes sure the logical_clusters field is filled with valid values after ScriptShape returns an error code.
BUG=264095
Review URL: https://chromiumcodereview.appspot.com/20179003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@213950 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chromeos/settings/device_settings_service.cc')
0 files changed, 0 insertions, 0 deletions