diff --git a/mozilla/widget/src/cocoa/nsSound.cpp b/mozilla/widget/src/cocoa/nsSound.cpp index 989aadebd92..58692c3e34d 100644 --- a/mozilla/widget/src/cocoa/nsSound.cpp +++ b/mozilla/widget/src/cocoa/nsSound.cpp @@ -691,13 +691,13 @@ nsMovieSoundRequest::OnStreamComplete(nsIStreamLoader *aLoader, if (NS_FAILED(aStatus)) return NS_ERROR_FAILURE; - nsXPIDLCString contentType; + nsCAutoString contentType; nsCOMPtr request; aLoader->GetRequest(getter_AddRefs(request)); nsCOMPtr 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.