mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-12 04:45:45 +00:00
Bug 666394 Remove redraw hack r=mfinkle
This commit is contained in:
parent
4499a4a67d
commit
57ead06a3a
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user