Fixes plugin backwards-compatibility fallback error in Safari.
Review by: jat (desk check)


git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@5928 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/dev/core/src/com/google/gwt/core/ext/linker/impl/hosted.html b/dev/core/src/com/google/gwt/core/ext/linker/impl/hosted.html
index 975ca75..17ae17c 100644
--- a/dev/core/src/com/google/gwt/core/ext/linker/impl/hosted.html
+++ b/dev/core/src/com/google/gwt/core/ext/linker/impl/hosted.html
@@ -210,8 +210,9 @@
     var plugin = null;
     for (var i = 0; i < pluginFinders.length; ++i) {
       try {
-        plugin = pluginFinders[i]();
-        if (plugin != null && plugin.init(window)) {
+        var maybePlugin = pluginFinders[i]();
+        if (maybePlugin != null && maybePlugin.init(window)) {
+          plugin = maybePlugin;
           break;
         }
       } catch (e) {