It looks like you no longer have a public way to check if a canvas is
supported without trying to create one? That seems bad.


http://gwt-code-reviews.appspot.com/1296801/diff/7001/8002
File user/src/com/google/gwt/canvas/client/Canvas.java (right):

http://gwt-code-reviews.appspot.com/1296801/diff/7001/8002#newcode42
user/src/com/google/gwt/canvas/client/Canvas.java:42: public static
Canvas createCanvasIfSupported() {
Naming nit: use of these factory methods might be easier to automate
down the road if they are consistent, so I'd suggest
Canvas#createIfSupported(). DRY and all that.

http://gwt-code-reviews.appspot.com/1296801/show

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Reply via email to