Bug 1105127 - Null-check the GetDisplayRootPresContext() result before using it, and remove the redundant GetRootPresContext() call.  r=roc