| Index: Source/bindings/v8/custom/V8AudioContextCustom.cpp
|
| diff --git a/Source/bindings/v8/custom/V8AudioContextCustom.cpp b/Source/bindings/v8/custom/V8AudioContextCustom.cpp
|
| index b9c84ff905af9672235dc15b5e15b26a7b86c2e2..99c8174cb4d47b75a09d2d7f5d581f70522acd09 100644
|
| --- a/Source/bindings/v8/custom/V8AudioContextCustom.cpp
|
| +++ b/Source/bindings/v8/custom/V8AudioContextCustom.cpp
|
| @@ -46,7 +46,7 @@ void V8AudioContext::constructorCustom(const v8::FunctionCallbackInfo<v8::Value>
|
| Document* document = currentDocument();
|
|
|
| RefPtr<AudioContext> audioContext;
|
| -
|
| +
|
| if (!args.Length()) {
|
| // Constructor for default AudioContext which talks to audio hardware.
|
| audioContext = AudioContext::create(document);
|
| @@ -68,7 +68,7 @@ void V8AudioContext::constructorCustom(const v8::FunctionCallbackInfo<v8::Value>
|
| throwError(v8SyntaxError, "Error creating AudioContext", args.GetIsolate());
|
| return;
|
| }
|
| -
|
| +
|
| // Transform the holder into a wrapper object for the audio context.
|
| v8::Handle<v8::Object> wrapper = args.Holder();
|
| V8DOMWrapper::associateObjectWithWrapper<V8AudioContext>(audioContext.release(), &info, wrapper, args.GetIsolate(), WrapperConfiguration::Dependent);
|
|
|