mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 555704 - useless null check of baseView in nsViewManager::DispatchEvent, r=roc
--HG-- extra : rebase_source : 5b83d0cadd4a19b7046081d97def741f16021edc
This commit is contained in:
parent
ab5979bb55
commit
0ae42e9fc5
@ -1040,9 +1040,7 @@ NS_IMETHODIMP nsViewManager::DispatchEvent(nsGUIEvent *aEvent,
|
||||
|
||||
// Dispatch the event
|
||||
nsRect baseViewDimensions;
|
||||
if (baseView) {
|
||||
baseView->GetDimensions(baseViewDimensions);
|
||||
}
|
||||
baseView->GetDimensions(baseViewDimensions);
|
||||
|
||||
nsPoint pt;
|
||||
pt.x = baseViewDimensions.x +
|
||||
|
Loading…
Reference in New Issue
Block a user