diff options
author | Artur Signell <artur.signell@itmill.com> | 2012-01-27 14:08:53 +0000 |
---|---|---|
committer | Artur Signell <artur.signell@itmill.com> | 2012-01-27 14:08:53 +0000 |
commit | c2722bfeb2552158c9717110b35518a07e13ab85 (patch) | |
tree | b32ead2ac3b8ab68027e12e9bf97394cbad906f1 /src/com/google | |
parent | b1ae3cd70e2ca4656bb28f77ca79fe0efd29dd67 (diff) | |
download | vaadin-framework-c2722bfeb2552158c9717110b35518a07e13ab85.tar.gz vaadin-framework-c2722bfeb2552158c9717110b35518a07e13ab85.zip |
#8311 Converted CRLF to LF in all source files
svn changeset:22797/svn branch:6.7
Diffstat (limited to 'src/com/google')
-rw-r--r-- | src/com/google/gwt/dom/client/VaadinDOMImplSafari.java | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/src/com/google/gwt/dom/client/VaadinDOMImplSafari.java b/src/com/google/gwt/dom/client/VaadinDOMImplSafari.java index 3975bf73d8..6e9cc81f43 100644 --- a/src/com/google/gwt/dom/client/VaadinDOMImplSafari.java +++ b/src/com/google/gwt/dom/client/VaadinDOMImplSafari.java @@ -1,26 +1,26 @@ -/*
-@VaadinApache2LicenseForJavaFiles@
- */
-package com.google.gwt.dom.client;
-
-/**
- * Overridden to workaround GWT issue #6194. Remove this when updating to a
- * newer GWT that fixes the problem (2.3.0 possibly). Must be in this package as
- * the whole DOMImpl hierarchy is package private and I really did not want to
- * copy all the parent classes into this one...
- */
-class VaadinDOMImplSafari extends DOMImplSafari {
- @Override
- public int getAbsoluteLeft(Element elem) {
- // Chrome returns a float in certain cases (at least when zoom != 100%).
- // The |0 ensures it is converted to an int.
- return super.getAbsoluteLeft(elem) | 0;
- }
-
- @Override
- public int getAbsoluteTop(Element elem) {
- // Chrome returns a float in certain cases (at least when zoom != 100%).
- // The |0 ensures it is converted to an int.
- return super.getAbsoluteTop(elem) | 0;
- }
-}
+/* +@VaadinApache2LicenseForJavaFiles@ + */ +package com.google.gwt.dom.client; + +/** + * Overridden to workaround GWT issue #6194. Remove this when updating to a + * newer GWT that fixes the problem (2.3.0 possibly). Must be in this package as + * the whole DOMImpl hierarchy is package private and I really did not want to + * copy all the parent classes into this one... + */ +class VaadinDOMImplSafari extends DOMImplSafari { + @Override + public int getAbsoluteLeft(Element elem) { + // Chrome returns a float in certain cases (at least when zoom != 100%). + // The |0 ensures it is converted to an int. + return super.getAbsoluteLeft(elem) | 0; + } + + @Override + public int getAbsoluteTop(Element elem) { + // Chrome returns a float in certain cases (at least when zoom != 100%). + // The |0 ensures it is converted to an int. + return super.getAbsoluteTop(elem) | 0; + } +} |