Bug 1127189 part 2 - Initialize browser API directly to get rid of nsBrowserElement observers. r=kanru

This commit is contained in:
Ting-Yu Chou
2015-02-09 15:04:18 +08:00
parent 04a068dab8
commit ff4dcc472c
6 changed files with 31 additions and 121 deletions

View File

@@ -499,3 +499,11 @@ nsGenericHTMLFrameElement::AllowCreateFrameLoader()
mFrameLoaderCreationDisallowed = false;
return NS_OK;
}
NS_IMETHODIMP
nsGenericHTMLFrameElement::InitializeBrowserAPI()
{
MOZ_ASSERT(mFrameLoader);
InitBrowserElementAPI();
return NS_OK;
}