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

Issue 447013002: Pepper: Fix caching for translated nexes. (Closed)

Created:
6 years, 4 months ago by teravest
Modified:
6 years, 4 months ago
CC:
chromium-reviews, yusukes+watch_chromium.org, tzik, binji+watch_chromium.org, raymes+watch_chromium.org, teravest+watch_chromium.org, nfullagar1, piman+watch_chromium.org, noelallen1, ihf+watch_chromium.org
Project:
chromium
Visibility:
Public.

Description

Pepper: Fix caching for translated nexes. A refactor of FileDownloader (r284961) broke the caching behavior for nexes that were translated from pexes; the cache would always end up with entries of length 0, breaking future loads of the pexe. This is the translated nexe was written to the wrong file handle, preventing caching of the result. This change causes the translated nexe to be written to the correct file handle, fixing the caching behavior. I manually tested this change on the "game of life" demo at https://gonativeclient.appspot.com/demo/life, verifying that a cached translated nexe for the pexe was successfully loaded. BUG=401121 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=287912

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -10 lines) Patch
M components/nacl/renderer/ppb_nacl_private_impl.cc View 1 chunk +2 lines, -1 line 0 comments Download
M ppapi/api/private/ppp_pexe_stream_handler.idl View 1 chunk +2 lines, -1 line 0 comments Download
M ppapi/c/private/ppp_pexe_stream_handler.h View 2 chunks +4 lines, -2 lines 0 comments Download
M ppapi/native_client/src/trusted/plugin/pnacl_coordinator.h View 1 chunk +2 lines, -1 line 0 comments Download
M ppapi/native_client/src/trusted/plugin/pnacl_coordinator.cc View 3 chunks +6 lines, -5 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
teravest
6 years, 4 months ago (2014-08-06 19:53:58 UTC) #1
dmichael (off chromium)
lgtm I think users affected by this will still get bad nexes from their cache ...
6 years, 4 months ago (2014-08-06 20:13:24 UTC) #2
teravest
On Wed, Aug 6, 2014 at 2:13 PM, <dmichael@chromium.org> wrote: > lgtm > > I ...
6 years, 4 months ago (2014-08-06 20:15:55 UTC) #3
teravest
On 2014/08/06 20:15:55, teravest wrote: > On Wed, Aug 6, 2014 at 2:13 PM, <mailto:dmichael@chromium.org> ...
6 years, 4 months ago (2014-08-06 20:31:09 UTC) #4
teravest
The CQ bit was checked by teravest@chromium.org
6 years, 4 months ago (2014-08-06 20:31:43 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/teravest@chromium.org/447013002/1
6 years, 4 months ago (2014-08-06 20:32:59 UTC) #6
Derek Schuff
On 2014/08/06 20:32:59, I haz the power (commit-bot) wrote: > CQ is trying da patch. ...
6 years, 4 months ago (2014-08-06 20:55:49 UTC) #7
commit-bot: I haz the power
6 years, 4 months ago (2014-08-07 00:15:46 UTC) #8
Message was sent while issue was closed.
Change committed as 287912

Powered by Google App Engine
This is Rietveld 408576698