diff --git a/dom/plugins/base/nsNPAPIPluginInstance.cpp b/dom/plugins/base/nsNPAPIPluginInstance.cpp index 171e8073145..d65e51f2eee 100644 --- a/dom/plugins/base/nsNPAPIPluginInstance.cpp +++ b/dom/plugins/base/nsNPAPIPluginInstance.cpp @@ -491,13 +491,6 @@ nsresult nsNPAPIPluginInstance::SetWindow(NPWindow* window) return NS_OK; } -nsresult -nsNPAPIPluginInstance::NewStreamToPlugin(nsIPluginStreamListener** listener) -{ - // This method can be removed at the next opportunity. - return NS_ERROR_NOT_IMPLEMENTED; -} - nsresult nsNPAPIPluginInstance::NewStreamFromPlugin(const char* type, const char* target, nsIOutputStream* *result) @@ -648,18 +641,6 @@ nsresult nsNPAPIPluginInstance::GetNPP(NPP* aNPP) return NS_OK; } -void -nsNPAPIPluginInstance::SetURI(nsIURI* uri) -{ - mURI = uri; -} - -nsIURI* -nsNPAPIPluginInstance::GetURI() -{ - return mURI.get(); -} - NPError nsNPAPIPluginInstance::SetWindowless(bool aWindowless) { mWindowless = aWindowless; diff --git a/dom/plugins/base/nsNPAPIPluginInstance.h b/dom/plugins/base/nsNPAPIPluginInstance.h index acba2f40e40..08ce3b11250 100644 --- a/dom/plugins/base/nsNPAPIPluginInstance.h +++ b/dom/plugins/base/nsNPAPIPluginInstance.h @@ -98,7 +98,6 @@ public: nsresult Start(); nsresult Stop(); nsresult SetWindow(NPWindow* window); - nsresult NewStreamToPlugin(nsIPluginStreamListener** listener); nsresult NewStreamFromPlugin(const char* type, const char* target, nsIOutputStream* *result); nsresult Print(NPPrint* platformPrint); #ifdef MOZ_WIDGET_ANDROID @@ -141,9 +140,6 @@ public: nsresult GetNPP(NPP * aNPP); - void SetURI(nsIURI* uri); - nsIURI* GetURI(); - NPError SetWindowless(bool aWindowless); NPError SetTransparent(bool aTransparent); @@ -301,8 +297,6 @@ private: // This is only valid when the plugin is actually stopped! mozilla::TimeStamp mStopTime; - nsCOMPtr mURI; - bool mUsePluginLayersPref; #ifdef MOZ_WIDGET_ANDROID void* mSurface;