Bug 458167 - Fix bad usage of "it's" in comments: patch for docshell folder. r=bsmedberg

This commit is contained in:
Daniel Holbert 2009-02-05 18:05:03 -08:00
parent 0deabefc86
commit 2772409706
2 changed files with 2 additions and 2 deletions

View File

@ -159,7 +159,7 @@ nsDSURIContentListener::IsPreferred(const char* aContentType,
NS_ENSURE_ARG_POINTER(aDesiredContentType); NS_ENSURE_ARG_POINTER(aDesiredContentType);
// the docshell has no idea if it is the preferred content provider or not. // the docshell has no idea if it is the preferred content provider or not.
// It needs to ask it's parent if it is the preferred content handler or not... // It needs to ask its parent if it is the preferred content handler or not...
nsCOMPtr<nsIURIContentListener> parentListener; nsCOMPtr<nsIURIContentListener> parentListener;
GetParentContentListener(getter_AddRefs(parentListener)); GetParentContentListener(getter_AddRefs(parentListener));

View File

@ -6652,7 +6652,7 @@ nsDocShell::CheckLoadingPermissions()
NS_ENSURE_TRUE(NS_SUCCEEDED(rv) && subjPrincipal, rv); NS_ENSURE_TRUE(NS_SUCCEEDED(rv) && subjPrincipal, rv);
// Check if the caller is from the same origin as this docshell, // Check if the caller is from the same origin as this docshell,
// or any of it's ancestors. // or any of its ancestors.
nsCOMPtr<nsIDocShellTreeItem> item(this); nsCOMPtr<nsIDocShellTreeItem> item(this);
do { do {
nsCOMPtr<nsIScriptGlobalObject> sgo(do_GetInterface(item)); nsCOMPtr<nsIScriptGlobalObject> sgo(do_GetInterface(item));