When we generate an output file in a client bundle, use
GWT.getModuleBaseForStaticFiles() to refer to it.

Review by: cromwellian@google.com

git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@10914 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/user/src/com/google/gwt/resources/rebind/context/StaticResourceContext.java b/user/src/com/google/gwt/resources/rebind/context/StaticResourceContext.java
index 8285c97..6dc2e3c 100644
--- a/user/src/com/google/gwt/resources/rebind/context/StaticResourceContext.java
+++ b/user/src/com/google/gwt/resources/rebind/context/StaticResourceContext.java
@@ -102,7 +102,7 @@
     }
 
     // Return a Java expression
-    return "GWT.getModuleBaseURL() + \"" + outputName + "\"";
+    return "GWT.getModuleBaseForStaticFiles() + \"" + outputName + "\"";
   }
 
   public boolean supportsDataUrls() {