Bug 1286663 - Add request thumbnail native method to ThumbnailHelper; r=snorp

Add and use a request thumbnail native method call in ThumbnailHelper,
instead of using the THUMBNAIL event in GeckoEvent.
This commit is contained in:
Jim Chen
2016-07-21 00:41:13 -04:00
parent 3bd23d057b
commit e58d307fbe
5 changed files with 262 additions and 5 deletions

View File

@@ -1706,7 +1706,7 @@ NS_IMETHODIMP nsAndroidBridge::GetBrowserApp(nsIAndroidBrowserApp * *aBrowserApp
{
nsAppShell* const appShell = nsAppShell::Get();
if (appShell)
appShell->GetBrowserApp(aBrowserApp);
NS_IF_ADDREF(*aBrowserApp = appShell->GetBrowserApp());
return NS_OK;
}