Fixing bustage from darin's checkin. Not part of the build.

git-svn-id: svn://10.0.0.236/trunk@117040 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bryner%netscape.com
2002-03-21 08:50:45 +00:00
parent 71a03d2a1d
commit fddea0ec2c

View File

@@ -691,13 +691,13 @@ nsMovieSoundRequest::OnStreamComplete(nsIStreamLoader *aLoader,
if (NS_FAILED(aStatus))
return NS_ERROR_FAILURE;
nsXPIDLCString contentType;
nsCAutoString contentType;
nsCOMPtr<nsIRequest> request;
aLoader->GetRequest(getter_AddRefs(request));
nsCOMPtr<nsIChannel> channel = do_QueryInterface(request);
if (channel)
channel->GetContentType(getter_Copies(contentType));
channel->GetContentType(contentType);
// we could use a Pointer data handler type, and avoid this
// allocation/copy, in QuickTime 5 and above.