Bug 1264784 - part 1 - call nsIFrame::{GetScreenRect,GetView} instead of their *External counterparts; r=dholbert

The latter functions just call through to the former functions, and
we're going to remove the latter functions in a separate, subsequent
patch.
This commit is contained in:
Nathan Froyd
2016-04-15 19:37:35 -04:00
parent 6d1d4b5745
commit 3aa2743f4f
5 changed files with 6 additions and 6 deletions

View File

@@ -113,7 +113,7 @@ nsCoreUtils::DispatchClickEvent(nsITreeBoxObject *aTreeBoxObj,
nsPoint offset;
nsIWidget *rootWidget =
rootFrame->GetViewExternal()->GetNearestWidget(&offset);
rootFrame->GetView()->GetNearestWidget(&offset);
RefPtr<nsPresContext> presContext = presShell->GetPresContext();