diff options
Diffstat (limited to 'server/src/com/vaadin/server/WrappedHttpServletRequest.java')
-rw-r--r-- | server/src/com/vaadin/server/WrappedHttpServletRequest.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/server/src/com/vaadin/server/WrappedHttpServletRequest.java b/server/src/com/vaadin/server/WrappedHttpServletRequest.java index 9285f92035..05d9b13736 100644 --- a/server/src/com/vaadin/server/WrappedHttpServletRequest.java +++ b/server/src/com/vaadin/server/WrappedHttpServletRequest.java @@ -89,9 +89,7 @@ public class WrappedHttpServletRequest extends HttpServletRequestWrapper @Override public WebBrowser getWebBrowser() { - ApplicationContext context = Application.getCurrent() - .getContext(); - return context.getBrowser(); + return Application.getCurrent().getBrowser(); } }; } |