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

Issue 2176933002: Tiny: Fix crash in FileSelectHelper::CheckDownloadRequestWithSafeBrowsing (Closed)

Created:
4 years, 5 months ago by Jialiu Lin
Modified:
3 years, 8 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix crash in FileSelectHelper::CheckDownloadRequestWithSafeBrowsing Use profile_ directly instead of getting profile info from web_contents_, since web_contents_ might be NULL. BUG=630778

Patch Set 1 #

Patch Set 2 : minimize code change of this fix #

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

Messages

Total messages: 13 (7 generated)
Jialiu Lin
Hi jochen@, Could you take a look at this small fix? Thanks!
4 years, 5 months ago (2016-07-23 01:40:16 UTC) #7
jochen (gone - plz use gerrit)
could you add a test for this please?
4 years, 5 months ago (2016-07-25 16:19:31 UTC) #8
Jialiu Lin
Hi jochen@, I really want to add a test, though in this case, I don't ...
4 years, 5 months ago (2016-07-25 18:51:16 UTC) #9
Jialiu Lin
Bug filed for adding more tests of FileSelectHelper. https://bugs.chromium.org/p/chromium/issues/detail?id=631503
4 years, 4 months ago (2016-07-26 16:43:58 UTC) #11
jochen (gone - plz use gerrit)
thanks for filing the bug. I'd suggest to wait for asanka@ to come back, so ...
4 years, 4 months ago (2016-07-27 07:38:21 UTC) #12
Jialiu Lin
4 years, 4 months ago (2016-07-27 16:32:09 UTC) #13
On 2016/07/27 07:38:21, jochen wrote:
> thanks for filing the bug. I'd suggest to wait for asanka@ to come back, so we
> can land the fix together with the test.

Make sense. Thanks, jochen@.  
Since the crashing rate on canary is pretty high, I'm going to revert my
previous CL that caused this.

Powered by Google App Engine
This is Rietveld 408576698