зеркало из https://github.com/mozilla/gecko-dev.git
remove #ifndef TARGET_CARBON since it's not needed. r=pchen/sr=sfraser/a=dbaron. bug# 96907.
This commit is contained in:
Родитель
5f9c250a30
Коммит
d296323e55
|
@ -94,7 +94,6 @@ NS_IMETHODIMP nsSound::OnStreamComplete(nsIStreamLoader *aLoader,
|
|||
|
||||
nsresult nsSound::PlaySound(Handle waveDataHandle, long waveDataSize)
|
||||
{
|
||||
#if !TARGET_CARBON
|
||||
Handle dataRef = nil;
|
||||
Movie movie = nil;
|
||||
MovieImportComponent miComponent = nil;
|
||||
|
@ -157,9 +156,6 @@ bail: // gasp, a goto label
|
|||
::DisposeMovie(movie);
|
||||
|
||||
return (err == noErr) ? NS_OK : NS_ERROR_FAILURE;
|
||||
#else
|
||||
return NS_OK;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче