diff --git a/layout/inspector/src/inLayoutUtils.cpp b/layout/inspector/src/inLayoutUtils.cpp index 2c3a3d002c7..805c77f0b72 100644 --- a/layout/inspector/src/inLayoutUtils.cpp +++ b/layout/inspector/src/inLayoutUtils.cpp @@ -220,7 +220,7 @@ inLayoutUtils::GetScreenOrigin(nsIDOMElement* aElement) if (presShell) { // Flush all pending notifications so that our frames are uptodate - presShell->FlushPendingNotifications(); + presShell->FlushPendingNotifications(PR_FALSE); nsCOMPtr presContext; presShell->GetPresContext(getter_AddRefs(presContext));