mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-14 20:22:00 +00:00
Fix bug 269832: crash when scrolling some plugins. Add null-check on mWidget in XP_MACOSX code. r/sr=bz
This commit is contained in:
parent
ea914b4555
commit
5cb748c4f4
@ -3454,6 +3454,7 @@ nsresult nsPluginInstanceOwner::ScrollPositionDidChange(nsIScrollableView* aScro
|
||||
|
||||
#if defined(XP_MACOSX)
|
||||
// FIXME - Only invalidate the newly revealed amount.
|
||||
if (mWidget)
|
||||
mWidget->Invalidate(PR_TRUE);
|
||||
#endif
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user