Bug 555704 - useless null check of baseView in nsViewManager::DispatchEvent, r=roc

--HG--
extra : rebase_source : 5b83d0cadd4a19b7046081d97def741f16021edc
This commit is contained in:
timeless@mozdev.org 2010-03-29 06:50:00 -07:00
parent ab5979bb55
commit 0ae42e9fc5

View File

@ -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 +