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

Unified Diff: Source/core/frame/UseCounter.cpp

Issue 825603005: AudioBufferSourceNode.buffer can only be set once. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Use deprecation message instead of DOM error Created 5 years, 11 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/core/frame/UseCounter.cpp
diff --git a/Source/core/frame/UseCounter.cpp b/Source/core/frame/UseCounter.cpp
index 676ae496fe1b6a5128779707e8ca833b6f4c7b16..bc7b3c040bf260a296aa2048afb3b4ebb400e280 100644
--- a/Source/core/frame/UseCounter.cpp
+++ b/Source/core/frame/UseCounter.cpp
@@ -830,6 +830,9 @@ String UseCounter::deprecationMessage(Feature feature)
case RangeExpand:
return replacedBy("Range.expand()", "Selection.modify()");
+ case AudioBufferSourceBufferOnce:
+ return "Setting AudioBufferSourceNode.buffer more than once is deprecated and will no longer work in M45.";
Ken Russell (switch to Gerrit) 2015/01/21 22:58:46 Better to say "Chrome 45"? Also, feel free to pull
Raymond Toy 2015/01/21 23:16:27 Chrome 43 it is. Will add entry to the chrome sta
+
// Features that aren't deprecated don't have a deprecation message.
default:
return String();

Powered by Google App Engine
This is Rietveld 408576698