Created attachment 624596 [details] [diff] [review]
nsIPluginStreamListener is unnecessary and complicates our stream handling. We can simplify things by removing it. The trickiest part is that we use QI to figure out what type of stream data we put in NPStream's 'ndata' field. With my patch we always use the same type of stream wrapper object for 'ndata'
diffstat: 13 files changed, 147 insertions(+), 275 deletions(-)
Doing this should also allow us to remove nsIPluginStreamInfo easily.
Created attachment 624768 [details] [diff] [review]
nsNPAPIStreamWrapper doesn't need to be a COM object either.
pushed to mozilla-central