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

Issue 131043002: [Pepper] Use platform path for QuotaReservation::GetOpenFileHandle (Closed)

Created:
6 years, 11 months ago by tzik
Modified:
6 years, 11 months ago
Reviewers:
bbudge
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam
Visibility:
Public.

Description

[Pepper] Use platform path for QuotaReservation::GetOpenFileHandle * Pass platform file path instead of virtual path to fileapis::QuotaReservation. * This should fix the quota leak regression. BUG=333150 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=244393

Patch Set 1 #

Total comments: 2

Patch Set 2 : +leak fix #

Total comments: 1

Patch Set 3 : suppress DCHECK failure #

Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -17 lines) Patch
M content/browser/renderer_host/pepper/pepper_file_io_host.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/pepper/pepper_file_system_browser_host.h View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/pepper/pepper_file_system_browser_host.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/pepper/quota_reservation.h View 2 chunks +2 lines, -5 lines 0 comments Download
M content/browser/renderer_host/pepper/quota_reservation.cc View 1 3 chunks +18 lines, -2 lines 0 comments Download
M content/browser/renderer_host/pepper/quota_reservation_unittest.cc View 1 3 chunks +15 lines, -5 lines 0 comments Download
M webkit/browser/fileapi/quota/quota_reservation_buffer.cc View 1 2 1 chunk +6 lines, -1 line 0 comments Download

Messages

Total messages: 10 (0 generated)
tzik
Hi, Bill. PTL. We've been using virtual path to check file size growth, which is ...
6 years, 11 months ago (2014-01-09 07:38:33 UTC) #1
bbudge
LGTM The switch to using QuotaReservation happened before M33. Since then, we have switched Pepper ...
6 years, 11 months ago (2014-01-09 13:23:50 UTC) #2
tzik
Updated! I made another leak fix. Could you take another look? https://codereview.chromium.org/131043002/diff/1/content/browser/renderer_host/pepper/quota_reservation_unittest.cc File content/browser/renderer_host/pepper/quota_reservation_unittest.cc (right): ...
6 years, 11 months ago (2014-01-10 05:34:07 UTC) #3
bbudge
Still LGTM https://codereview.chromium.org/131043002/diff/130001/content/browser/renderer_host/pepper/quota_reservation.cc File content/browser/renderer_host/pepper/quota_reservation.cc (right): https://codereview.chromium.org/131043002/diff/130001/content/browser/renderer_host/pepper/quota_reservation.cc#newcode86 content/browser/renderer_host/pepper/quota_reservation.cc:86: delete it->second; Whoa, nice catch.
6 years, 11 months ago (2014-01-10 06:03:13 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tzik@chromium.org/131043002/130001
6 years, 11 months ago (2014-01-10 06:05:31 UTC) #5
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) net_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=244654
6 years, 11 months ago (2014-01-10 07:07:48 UTC) #6
tzik
On 2014/01/10 07:07:48, I haz the power (commit-bot) wrote: > Retried try job too often ...
6 years, 11 months ago (2014-01-10 08:10:27 UTC) #7
tzik
On 2014/01/10 08:10:27, tzik wrote: > On 2014/01/10 07:07:48, I haz the power (commit-bot) wrote: ...
6 years, 11 months ago (2014-01-10 12:43:59 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tzik@chromium.org/131043002/460001
6 years, 11 months ago (2014-01-11 04:52:02 UTC) #9
commit-bot: I haz the power
6 years, 11 months ago (2014-01-11 23:29:35 UTC) #10
Message was sent while issue was closed.
Change committed as 244393

Powered by Google App Engine
This is Rietveld 408576698