Commit 90301bb8 authored by Raymond Toy's avatar Raymond Toy Committed by Commit Bot

Remove BaseAudioContext::Create

Thsi method is defined but never used anywhere.  Remove it.

Bug: 987776
Change-Id: I2a4cd6fb3e9f15f1fc8c65cccef0bcb6aef51359
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1719002Reviewed-by: default avatarHongchan Choi <hongchan@chromium.org>
Commit-Queue: Raymond Toy <rtoy@chromium.org>
Cr-Commit-Position: refs/heads/master@{#681845}
parent 3cd194bc
......@@ -82,13 +82,6 @@
namespace blink {
BaseAudioContext* BaseAudioContext::Create(
Document& document,
const AudioContextOptions* context_options,
ExceptionState& exception_state) {
return AudioContext::Create(document, context_options, exception_state);
}
// Constructor for rendering to the audio hardware.
BaseAudioContext::BaseAudioContext(Document* document,
enum ContextType context_type)
......
......@@ -59,7 +59,6 @@ namespace blink {
class AnalyserNode;
class AudioBuffer;
class AudioBufferSourceNode;
class AudioContextOptions;
class AudioGraphTracer;
class AudioListener;
class AudioWorklet;
......@@ -105,11 +104,6 @@ class MODULES_EXPORT BaseAudioContext
// to Suspended or Closed. Once Closed, there are no valid transitions.
enum AudioContextState { kSuspended, kRunning, kClosed };
// Create an AudioContext for rendering to the audio hardware.
static BaseAudioContext* Create(Document&,
const AudioContextOptions*,
ExceptionState&);
~BaseAudioContext() override;
void Trace(blink::Visitor*) override;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment