mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Backed out changeset c413b946dbc4 (bug 1022612)
This commit is contained in:
parent
2fda6f0d58
commit
495422fb07
@ -1608,9 +1608,9 @@ AppUnitsPerDevPixel(nsDisplayItem* aItem)
|
|||||||
* Because we only reduce the visible region here, we don't need to worry
|
* Because we only reduce the visible region here, we don't need to worry
|
||||||
* about whether CONTENT_OPAQUE is set; if layer was opaque in the old
|
* about whether CONTENT_OPAQUE is set; if layer was opaque in the old
|
||||||
* visible region, it will still be opaque in the new one.
|
* visible region, it will still be opaque in the new one.
|
||||||
* @param aLayerVisibleRect if non-null, the visible rect of the layer, in
|
* @param aLayerVisibleRegion the visible region of the layer, in the layer's
|
||||||
* the layer's coordinate space
|
* coordinate space
|
||||||
* @param aOuterVisibleRect the rect to restrict the visible region to, in the
|
* @param aRestrictToRect the rect to restrict the visible region to, in the
|
||||||
* parent's coordinate system
|
* parent's coordinate system
|
||||||
*/
|
*/
|
||||||
static void
|
static void
|
||||||
|
@ -1483,7 +1483,7 @@ nsLayoutUtils::GetScrollableFrameFor(const nsIFrame *aScrolledFrame)
|
|||||||
{
|
{
|
||||||
nsIFrame *frame = aScrolledFrame->GetParent();
|
nsIFrame *frame = aScrolledFrame->GetParent();
|
||||||
nsIScrollableFrame *sf = do_QueryFrame(frame);
|
nsIScrollableFrame *sf = do_QueryFrame(frame);
|
||||||
return sf && sf->GetScrolledFrame() == aScrolledFrame ? sf : nullptr;
|
return sf;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* static */ void
|
/* static */ void
|
||||||
|
Loading…
Reference in New Issue
Block a user