DescriptionPepper: 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
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=242646
Patch Set 1 #
Total comments: 1
Patch Set 2 : Use Close message to ensure work is done before FileSystemHost dtor. #
Total comments: 1
Messages
Total messages: 7 (0 generated)
|