Fix browser crash on shutdown when ProfileImplIOData::Handle::Init isn't called.
commit08f40f1daf017ec5ca8a0e6e6b977ab33bff69f9
authorjeremyim <jeremyim@chromium.org>
Wed, 22 Apr 2015 20:56:17 +0000 (22 13:56 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 22 Apr 2015 20:56:18 +0000 (22 20:56 +0000)
tree52dc77de18d2ec76ef888c506e5983f1118b04a5
parent6f4c50b15c2890b60fcc849b5c4eba6775d6a543
Fix browser crash on shutdown when ProfileImplIOData::Handle::Init isn't called.

With ephemeral profiles, in some cases, a Handle will be created and destroyed
without being initialized. Root cause of why the object is created is still not
known, but this change prevents the crash from occurring.

BUG=478215

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

Cr-Commit-Position: refs/heads/master@{#326371}
chrome/browser/profiles/profile_impl_io_data.cc