зеркало из https://github.com/mozilla/gecko-dev.git
Minor cleanup, no bug. a=bsmedberg
This commit is contained in:
Родитель
362710b53b
Коммит
4ef1870cfe
|
@ -37,7 +37,7 @@
|
|||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
/*
|
||||
* A base class implementING nsIObjectLoadingContent for use by
|
||||
* A base class implementing nsIObjectLoadingContent for use by
|
||||
* various content nodes that want to provide plugin/document/image
|
||||
* loading functionality (eg <embed>, <object>, <applet>, etc).
|
||||
*/
|
||||
|
|
|
@ -464,7 +464,6 @@ public:
|
|||
nsIPluginInstance *GetPluginInstance() { return mInstance; }
|
||||
|
||||
private:
|
||||
nsresult SetUpCache(nsIURI* aURL); // todo: see about removing this...
|
||||
nsresult SetUpStreamListener(nsIRequest* request, nsIURI* aURL);
|
||||
nsresult SetupPluginCacheFile(nsIChannel* channel);
|
||||
|
||||
|
@ -1509,14 +1508,6 @@ NS_IMETHODIMP nsPluginStreamListenerPeer::OnStopRequest(nsIRequest *request,
|
|||
return NS_OK;
|
||||
}
|
||||
|
||||
// private methods for nsPluginStreamListenerPeer
|
||||
nsresult nsPluginStreamListenerPeer::SetUpCache(nsIURI* aURL)
|
||||
{
|
||||
nsPluginCacheListener* cacheListener = new nsPluginCacheListener(this);
|
||||
// XXX: Null LoadGroup?
|
||||
return NS_OpenURI(cacheListener, nsnull, aURL, nsnull);
|
||||
}
|
||||
|
||||
nsresult nsPluginStreamListenerPeer::SetUpStreamListener(nsIRequest *request,
|
||||
nsIURI* aURL)
|
||||
{
|
||||
|
@ -5235,7 +5226,7 @@ nsresult nsPluginStreamListenerPeer::ServeStreamAsFile(nsIRequest *request,
|
|||
mPStreamListener->OnStartBinding(mPluginStreamInfo);
|
||||
mPluginStreamInfo->SetStreamOffset(0);
|
||||
|
||||
// force the plugin use stream as file
|
||||
// force the plugin to use stream as file
|
||||
mStreamType = NP_ASFILE;
|
||||
|
||||
// then check it out if browser cache is not available
|
||||
|
|
Загрузка…
Ссылка в новой задаче