diff options
author | apatrick@google.com <apatrick@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-03 19:49:35 +0000 |
---|---|---|
committer | apatrick@google.com <apatrick@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-03 19:49:35 +0000 |
commit | 91240c947358b33cc19c0923a06d116ab36737dd (patch) | |
tree | 7897c99ad9b41d7735c7a42e0ea75fe6f76760b3 /o3d/samples | |
parent | 2e25a9f4152a90a179ad37206bff79e1198379d7 (diff) | |
download | chromium_src-91240c947358b33cc19c0923a06d116ab36737dd.zip chromium_src-91240c947358b33cc19c0923a06d116ab36737dd.tar.gz chromium_src-91240c947358b33cc19c0923a06d116ab36737dd.tar.bz2 |
Asynchronous tick now uses NPN_PluginAsyncCall.URL streaming callbacks are now also asynchronous.Implemented NPN_PluginAsyncCall for IE.Allowed WM_PAINT handler to be reentered because it no longer calls into the browser (except to schedule an asynchronous tick if none is pending).Fixed a bug where the EventManager would crash if an event callback called cleanUp on the client.Cleanup destroys all the packs. Doing this in NPP_Destroy seems to make Chrome timeout and fail to load the next page.Tar and GZ decoding happens on a new thread.
Review URL: http://codereview.chromium.org/155733
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22305 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'o3d/samples')
-rw-r--r-- | o3d/samples/animated-scene.html | 1 | ||||
-rw-r--r-- | o3d/samples/o3djs/io.js | 4 |
2 files changed, 2 insertions, 3 deletions
diff --git a/o3d/samples/animated-scene.html b/o3d/samples/animated-scene.html index b60f286..c9e4b72 100644 --- a/o3d/samples/animated-scene.html +++ b/o3d/samples/animated-scene.html @@ -60,6 +60,7 @@ o3djs.require('o3djs.scene'); // Events // init() once the page has finished loading. window.onload = init; +window.onunload = unload; // global variables var g_o3d; diff --git a/o3d/samples/o3djs/io.js b/o3d/samples/o3djs/io.js index 2bd1a3a..690bd2c 100644 --- a/o3d/samples/o3djs/io.js +++ b/o3d/samples/o3djs/io.js @@ -494,9 +494,7 @@ o3djs.io.loadArchiveAdvanced = function(pack, var request = pack.createArchiveRequest(); var loadInfo = o3djs.io.createLoadInfo(request, true); request.open('GET', url); - request.onfileavailable = function() { - onFileAvailable(/** @type {!o3d.RawData} */ (request.data)); - }; + request.onfileavailable = onFileAvailable; /** * @ignore */ |