Bug 915822 - Make GetTabChildFrom a class method on TabChild. r=smaug

This commit is contained in:
Tom Schuster
2013-09-12 15:24:11 -04:00
parent 01b10ea37a
commit ae6902f444
13 changed files with 46 additions and 46 deletions

View File

@@ -12731,7 +12731,7 @@ nsDocShell::GetAppId(uint32_t* aAppId)
NS_IMETHODIMP
nsDocShell::GetAsyncPanZoomEnabled(bool* aOut)
{
if (TabChild* tabChild = GetTabChildFrom(this)) {
if (TabChild* tabChild = TabChild::GetFrom(this)) {
*aOut = tabChild->IsAsyncPanZoomEnabled();
return NS_OK;
}