Revision: 6922
Author: [email protected]
Date: Mon Nov 16 12:36:36 2009
Log: Hosted mode doesn't like @null::nullMethod()

Patch by: bobv
Review by: rjrjr (TBR)
http://code.google.com/p/google-web-toolkit/source/detail?r=6922

Modified:
  /trunk/user/src/com/google/gwt/xhr/client/XMLHttpRequest.java

=======================================
--- /trunk/user/src/com/google/gwt/xhr/client/XMLHttpRequest.java       Mon Nov 
 
16 12:30:06 2009
+++ /trunk/user/src/com/google/gwt/xhr/client/XMLHttpRequest.java       Mon Nov 
 
16 12:36:36 2009
@@ -113,7 +113,7 @@
    public final native void clearOnReadyStateChange() /*-{
      var self = this;
      $wnd.setTimeout(function() {
-      self.onreadystatechange = @null::nullMethod();
+      self.onreadystatechange = function(){};
      }, 0);
    }-*/;

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

Reply via email to