diff --git a/mozilla/content/events/src/nsEventStateManager.cpp b/mozilla/content/events/src/nsEventStateManager.cpp index f0bcdf3213b..0ec49ade353 100644 --- a/mozilla/content/events/src/nsEventStateManager.cpp +++ b/mozilla/content/events/src/nsEventStateManager.cpp @@ -3147,7 +3147,7 @@ nsEventStateManager::ShiftFocusInternal(PRBool aForward, nsIContent* aStart) nsIContent *startContent = nsnull; if (aStart) { - presShell->GetPrimaryFrameFor(startContent, &curFocusFrame); + presShell->GetPrimaryFrameFor(aStart, &curFocusFrame); // If there is no frame, we can't navigate from this content node, and we // fall back to navigating from the document root.