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

Issue 155716: o3djs.utils.makeClients checks that Renderer has been initialized.... (Closed)

Created:
11 years, 5 months ago by apatrick
Modified:
9 years, 7 months ago
Reviewers:
gman1
CC:
o3d-review_googlegroups.com
Visibility:
Public.

Description

o3djs.utils.makeClients checks that Renderer has been initialized. Prevents case where init callback is called before NPP_SetWindow (which initializes the renderer). Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=21188

Patch Set 1 #

Total comments: 2

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -2 lines) Patch
M samples/o3djs/util.js View 1 2 chunks +4 lines, -2 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
apatrick
11 years, 5 months ago (2009-07-17 22:49:29 UTC) #1
gman
LGTM except one minor thing http://codereview.chromium.org/155716/diff/1/2 File samples/o3djs/util.js (right): http://codereview.chromium.org/155716/diff/1/2#newcode858 Line 858: o3djs.util.rendererInitStatus.UNINITIALIZED; I think ...
11 years, 5 months ago (2009-07-18 02:12:52 UTC) #2
apatrick
11 years, 5 months ago (2009-07-20 19:56:48 UTC) #3
http://codereview.chromium.org/155716/diff/1/2
File samples/o3djs/util.js (right):

http://codereview.chromium.org/155716/diff/1/2#newcode858
Line 858: o3djs.util.rendererInitStatus.UNINITIALIZED;
On 2009/07/18 02:12:52, gman wrote:
> I think you want to check that element.client exists before checking for
> element.client.rendererInitStatus?
> 
> 

Done.

Powered by Google App Engine
This is Rietveld 408576698