summaryrefslogtreecommitdiffstats
path: root/LayoutTests
diff options
context:
space:
mode:
authorBen Murdoch <benm@google.com>2010-12-02 15:10:50 +0000
committerBen Murdoch <benm@google.com>2010-12-02 15:25:34 +0000
commit08b7b3c68ddad8c6ad95eb01db4be376fefcd1d7 (patch)
tree9e40e898352f397968d709069f15616106c3fce1 /LayoutTests
parent0dea64c9575802352241ad43b78e20198a6e137c (diff)
downloadexternal_webkit-08b7b3c68ddad8c6ad95eb01db4be376fefcd1d7.zip
external_webkit-08b7b3c68ddad8c6ad95eb01db4be376fefcd1d7.tar.gz
external_webkit-08b7b3c68ddad8c6ad95eb01db4be376fefcd1d7.tar.bz2
Fix crash when syncing autofill settings.
Since we moved the autofill initiation code out of the constructor and into it's own method, we may crash if there is an autofill profile set but the feature is turned off (i.e. the user had it on at one point and had a profile set up but turned it off without deleting the profile). That's because in this case we execute setAutoFillProfile() in WebSettings without having first called the new init method. It makes sense to not sync any profiles though when the feature is not enabled, so add that check. Change-Id: I9d99e96347770e5b08c982513f2370cb770cbe94
Diffstat (limited to 'LayoutTests')
0 files changed, 0 insertions, 0 deletions