зеркало из https://github.com/mozilla/pjs.git
Bug 555704 - useless null check of baseView in nsViewManager::DispatchEvent, r=roc
--HG-- extra : rebase_source : 5b83d0cadd4a19b7046081d97def741f16021edc
This commit is contained in:
Родитель
2906ef00d9
Коммит
5bd07ca329
|
@ -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 +
|
||||
|
|
Загрузка…
Ссылка в новой задаче