diff options
author | bshe@chromium.org <bshe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-27 21:02:41 +0000 |
---|---|---|
committer | bshe@chromium.org <bshe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-27 21:02:41 +0000 |
commit | 3e4d15aad961909fd541ea553bf9382dcfd016ea (patch) | |
tree | c52aae16aab161473d8de7452cf72bc15cafe5d4 /chrome/browser/chromeos/gdata/gdata_files.h | |
parent | ba25df23c93f4c6657bcdd6d611f57941c9c7fb7 (diff) | |
download | chromium_src-3e4d15aad961909fd541ea553bf9382dcfd016ea.zip chromium_src-3e4d15aad961909fd541ea553bf9382dcfd016ea.tar.gz chromium_src-3e4d15aad961909fd541ea553bf9382dcfd016ea.tar.bz2 |
Merge 144461 - Fix crash when user close set wallpaper page before thumbnail generated
Use a weakptr to avoid the crash. We dont need to call SetCustomWallpaperThumbnail
when the wallpaper page closed by user.
BUG=134439
TEST=
1. Go to chrome://chrome/settings/setWallpaper
2. click "browse..." and chose any image from file system
3. close the set wallpaper... immediately (before the background actually changed
to the image you just selected)
Expected: the browser shouldn't crash and wallpaper changed to the image
you just selected.
Review URL: https://chromiumcodereview.appspot.com/10667039
TBR=bshe@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10702014
git-svn-id: svn://svn.chromium.org/chrome/branches/1180/src@144551 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chromeos/gdata/gdata_files.h')
0 files changed, 0 insertions, 0 deletions