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

Unified Diff: third_party/WebKit/Source/modules/webaudio/AudioBuffer.idl

Issue 2581813002: Measure WebAudio node constructor usage (Closed)
Patch Set: Rebase Created 4 years 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: third_party/WebKit/Source/modules/webaudio/AudioBuffer.idl
diff --git a/third_party/WebKit/Source/modules/webaudio/AudioBuffer.idl b/third_party/WebKit/Source/modules/webaudio/AudioBuffer.idl
index da798dfbaff58f1699b4293a5919f6af99907418..a7914fa056ad5e4c0d0810ee1e7a5aa0eb843dec 100644
--- a/third_party/WebKit/Source/modules/webaudio/AudioBuffer.idl
+++ b/third_party/WebKit/Source/modules/webaudio/AudioBuffer.idl
@@ -30,6 +30,7 @@
[
Constructor(BaseAudioContext context, AudioBufferOptions options),
RaisesException=Constructor,
+ Measure
] interface AudioBuffer {
readonly attribute long length; // in sample-frames
readonly attribute double duration; // in seconds

Powered by Google App Engine
This is Rietveld 408576698