Bug 666394 Remove redraw hack r=mfinkle

This commit is contained in:
Benjamin Stover 2011-06-23 18:51:04 -07:00
parent 4499a4a67d
commit 57ead06a3a

View File

@ -585,15 +585,6 @@ let ContentScroll = {
let winCwu = win.QueryInterface(Ci.nsIInterfaceRequestor).getInterface(Ci.nsIDOMWindowUtils);
winCwu.setDisplayPortForElement(x, y, displayport.width, displayport.height, element);
// XXX If we scrolled during this displayport update, then it is the
// end of a pan. Due to bug 637852, there may be seaming issues
// with the visible content, so we need to redraw.
if (json.id == 1 && json.scrollX >= 0 && json.scrollY >= 0)
win.setTimeout(
function() {
winCwu.redraw();
}, 0);
break;
}