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 Review URL: https://codereview.chromium.org/447013002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287912 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment