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

Issue 121973003: Merge 242646 "Pepper: FileIO holds FileSystem ref with scoped_re..." (Closed)

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

Description

Merge 242646 "Pepper: FileIO holds FileSystem ref with scoped_re..." > Pepper: FileIO holds FileSystem ref with scoped_refptr<Resource>. > > 1) Use a scoped_refptr to keep the FileSystemResource alive. > ScopedPPResource isn't safe for this purpose. > 2) Make sure that the FileIOResource always sends a close message, so > the FileIO host can unhook from the FileSystemHost before the latter is > destroyed. Due to refcounting, the destruction order is in some cases not > what we want. > > R=teravest@chromium.org > BUG=330809, 330859 > > Review URL: https://codereview.chromium.org/121813002 TBR=bbudge@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=243313

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -13 lines) Patch
M content/browser/renderer_host/pepper/pepper_file_io_host.cc View 1 chunk +3 lines, -1 line 0 comments Download
M ppapi/proxy/file_io_resource.h View 1 chunk +2 lines, -1 line 0 comments Download
M ppapi/proxy/file_io_resource.cc View 4 chunks +25 lines, -11 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
bbudge
6 years, 11 months ago (2014-01-07 17:03:58 UTC) #1
bbudge
6 years, 11 months ago (2014-01-07 17:04:13 UTC) #2
Message was sent while issue was closed.
Committed patchset #1 manually as r243313.

Powered by Google App Engine
This is Rietveld 408576698