printf("PluginViewerImpl::StartLoad: content-type=%s\n", contentType);
PRINTF("PluginViewerImpl::StartLoad: content-type=%s\n", contentType);
PluginViewerImpl::StartLoad(nsIChannel* channel, nsIStreamListener*& aResult){  NS_IF_RELEASE(mChannel);  mChannel = channel;  NS_ADDREF(mChannel);#ifdef DEBUG  char* contentType;  mChannel->GetContentType(&contentType);  printf("PluginViewerImpl::StartLoad: content-type=%s\n", contentType);  nsCRT::free(contentType);#endif  aResult = nsnull;  // Only instantiate the plugin if our container can host it  nsCOMPtr<nsIPluginHost> host;  host = do_GetService(kCPluginManagerCID);  nsresult rv = NS_ERROR_FAILURE;  if(host)   {    nsRect r;    mWindow->GetClientBounds(r);    rv = CreatePlugin(host, nsRect(0, 0, r.width, r.height), aResult);  }  return rv;}