Bug 882613 - Remove reference to nsIDocShellHistory in metro front end code bug 882079 missed. r=fyan
Bug 876562. Fix scrollport size calculation that didn't make a lot of sense. r=kats

It was taking the min over two values that weren't in the same unit (the first in CSS pixels, the second in dev pixels).