Bug 1018486 - Part 1: Changes in dom/, r=baku

MozReview-Commit-ID: 4tCUM4KRe81
This commit is contained in:
Michael Layzell
2016-08-24 14:12:09 -04:00
parent 6353e8deda
commit f2f13378b5
25 changed files with 97 additions and 83 deletions

View File

@@ -318,10 +318,10 @@ nsNPAPIPluginInstance::GetDOMWindow()
if (!mOwner)
return nullptr;
RefPtr<nsPluginInstanceOwner> deathGrip(mOwner);
RefPtr<nsPluginInstanceOwner> kungFuDeathGrip(mOwner);
nsCOMPtr<nsIDocument> doc;
mOwner->GetDocument(getter_AddRefs(doc));
kungFuDeathGrip->GetDocument(getter_AddRefs(doc));
if (!doc)
return nullptr;