| Index: third_party/WebKit/Source/platform/audio/HRTFDatabaseLoader.cpp
|
| diff --git a/third_party/WebKit/Source/platform/audio/HRTFDatabaseLoader.cpp b/third_party/WebKit/Source/platform/audio/HRTFDatabaseLoader.cpp
|
| index c9b04375ca8b3e455f9dc38d3d84aaebbc158ab7..e3fb7c75ff5f520cc35e631441ab3041466acfdc 100644
|
| --- a/third_party/WebKit/Source/platform/audio/HRTFDatabaseLoader.cpp
|
| +++ b/third_party/WebKit/Source/platform/audio/HRTFDatabaseLoader.cpp
|
| @@ -53,13 +53,13 @@ HRTFDatabaseLoader::CreateAndLoadAsynchronouslyIfNecessary(float sample_rate) {
|
| RefPtr<HRTFDatabaseLoader> loader = GetLoaderMap().at(sample_rate);
|
| if (loader) {
|
| DCHECK_EQ(sample_rate, loader->DatabaseSampleRate());
|
| - return loader.Release();
|
| + return loader;
|
| }
|
|
|
| loader = AdoptRef(new HRTFDatabaseLoader(sample_rate));
|
| GetLoaderMap().insert(sample_rate, loader.Get());
|
| loader->LoadAsynchronously();
|
| - return loader.Release();
|
| + return loader;
|
| }
|
|
|
| HRTFDatabaseLoader::HRTFDatabaseLoader(float sample_rate)
|
|
|