Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(49)

Issue 10288006: gdata: Fix a bug that caused a crash when downloading files (Closed)

Created:
8 years, 7 months ago by satorux1
Modified:
8 years, 7 months ago
Reviewers:
achuithb, Ben Chan
CC:
chromium-reviews, achuith+watch_chromium.org, stevenjb+watch_chromium.org, nkostylev+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

gdata: Fix a bug that caused a crash when downloading files GetDownloadDataCallback parameter in GDataFileSystem::GetFileByPath() was optional hence a null callback was passed in many places, and the null callback was posted to a message loop without checking if it's null or not. BUG=chromium-os:30198 TEST=double clicking on an image file on gdata; copy-pasting from gdata to Downloads; both don't crash Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=134808

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -0 lines) Patch
M chrome/browser/chromeos/gdata/gdata_file_system.cc View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
satorux1
8 years, 7 months ago (2012-05-01 22:33:25 UTC) #1
achuithb
lgtm
8 years, 7 months ago (2012-05-01 22:34:59 UTC) #2
Ben Chan
8 years, 7 months ago (2012-05-01 22:36:21 UTC) #3
lgtm. Thanks!

Powered by Google App Engine
This is Rietveld 408576698