mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-20 09:58:10 +00:00
OS/2 bustage
This commit is contained in:
parent
2ec6aa58df
commit
24d9c46374
@ -117,7 +117,7 @@ nsNativeScrollbarFrame::Init(nsIPresContext* aPresContext, nsIContent* aContent,
|
||||
nsCOMPtr<nsIDeviceContext> devContext;
|
||||
aPresContext->GetDeviceContext(getter_AddRefs(devContext));
|
||||
nsRect bounds(0,0,0,0);
|
||||
rv = mScrollbar->Create(parentWidget, bounds, nsnull, devContext);
|
||||
rv = mScrollbar->Create(NS_STATIC_CAST(nsIWidget*,parentWidget), bounds, nsnull, devContext);
|
||||
mScrollbar->Show(PR_TRUE);
|
||||
|
||||
// defer telling the scrollbar about the mediator and the content
|
||||
|
Loading…
x
Reference in New Issue
Block a user