// workaround for chrome bug // see: http://code.google.com/p/mgwt/issues/detail?id=164 public static void maybeUpdateScroller(ScrollPanel scrollPanel) { // no impact on production // this compiles out! if (!MGWT.getOsDetection().isDesktop()) return; if (isChrome) { scrollPanel.setUsePos(true); } }