Thomas Broyer has posted comments on this change.
Change subject: Add wrap method to Canvas
......................................................................
Patch Set 2:
(1 comment)
....................................................
File user/src/com/google/gwt/canvas/client/Canvas.java
Line 84: return isSupported(Document.get().createCanvasElement());
The problem with this approach is that it unconditionally creates a canvas
element, even if isSupportedCompileTime is 'false', and I don't the
compiler will optimize this code out (it's JSNI, so it can have
side-effects)
That's why I proposed copying the code instead.
--
To view, visit https://gwt-review.googlesource.com/3613
To unsubscribe, visit https://gwt-review.googlesource.com/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: Ieca5c14e41b495da75004fa080409fca1b21b3d5
Gerrit-PatchSet: 2
Gerrit-Project: gwt
Gerrit-Branch: master
Gerrit-Owner: Daniel Kurka <[email protected]>
Gerrit-Reviewer: Daniel Kurka <[email protected]>
Gerrit-Reviewer: Leeroy Jenkins <[email protected]>
Gerrit-Reviewer: Thomas Broyer <[email protected]>
Gerrit-HasComments: Yes
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
---
You received this message because you are subscribed to the Google Groups "GWT Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.