mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-09 04:25:38 +00:00
Fix some build bustage...
This commit is contained in:
parent
a63c71ca52
commit
73f7dc2edb
@ -549,6 +549,7 @@ NS_IMETHODIMP nsWindow::Update()
|
||||
if (renderingContext)
|
||||
{
|
||||
// initialize the paint event for that widget
|
||||
PRBool bClipEmpty;
|
||||
nsRect rect;
|
||||
Rect macRect;
|
||||
GetBounds(rect); //¥TODO¥: for complex objects, maybe we should clip to the widgetRgn
|
||||
@ -578,7 +579,7 @@ NS_IMETHODIMP nsWindow::Update()
|
||||
PrepareToDraw();
|
||||
OnPaint(paintEvent);
|
||||
DispatchWindowEvent(paintEvent);
|
||||
renderingContext->PopState();
|
||||
renderingContext->PopState(bClipEmpty);
|
||||
|
||||
// recursively scan through its children to draw them too
|
||||
nsIEnumerator* children = GetChildren();
|
||||
|
Loading…
x
Reference in New Issue
Block a user