Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1550)

Unified Diff: Source/modules/webaudio/OscillatorNode.h

Issue 209423006: WebAudio: Remove legacy support for numerical values for Oscillator types. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/modules/webaudio/OscillatorNode.h
diff --git a/Source/modules/webaudio/OscillatorNode.h b/Source/modules/webaudio/OscillatorNode.h
index 9f02d52a95c4a9c25325f7aa1397e2a3a48b5bdd..7e23c99ab05b9bf847e5f6f190fb55ac77b166d4 100644
--- a/Source/modules/webaudio/OscillatorNode.h
+++ b/Source/modules/webaudio/OscillatorNode.h
@@ -61,7 +61,6 @@ public:
String type() const;
- bool setType(unsigned); // Returns true on success.
void setType(const String&);
AudioParam* frequency() { return m_frequency.get(); }
@@ -72,6 +71,8 @@ public:
private:
OscillatorNode(AudioContext*, float sampleRate);
+ bool setType(unsigned); // Returns true on success.
+
// Returns true if there are sample-accurate timeline parameter changes.
bool calculateSampleAccuratePhaseIncrements(size_t framesToProcess);

Powered by Google App Engine
This is Rietveld 408576698