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

Side by Side 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: Rebase Created 5 years, 10 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/frame/UseCounter.h ('k') | Source/modules/webaudio/AudioBufferSourceNode.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 1
2 /* 2 /*
3 * Copyright (C) 2012 Google, Inc. All rights reserved. 3 * Copyright (C) 2012 Google, Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 820 matching lines...) Expand 10 before | Expand all | Expand 10 after
831 return replacedBy("Range.expand()", "Selection.modify()"); 831 return replacedBy("Range.expand()", "Selection.modify()");
832 832
833 case PrefixedMediaAddKey: 833 case PrefixedMediaAddKey:
834 case PrefixedMediaGenerateKeyRequest: 834 case PrefixedMediaGenerateKeyRequest:
835 case PrefixedMediaCancelKeyRequest: 835 case PrefixedMediaCancelKeyRequest:
836 return "The prefixed Encrypted Media Extensions APIs are deprecated and will be removed soon. Please use 'navigator.requestMediaKeySystemAccess()' inste ad."; 836 return "The prefixed Encrypted Media Extensions APIs are deprecated and will be removed soon. Please use 'navigator.requestMediaKeySystemAccess()' inste ad.";
837 837
838 case CanPlayTypeKeySystem: 838 case CanPlayTypeKeySystem:
839 return "canPlayType()'s 'keySystem' parameter is deprecated and will be removed soon. Please use 'navigator.requestMediaKeySystemAccess()' instead."; 839 return "canPlayType()'s 'keySystem' parameter is deprecated and will be removed soon. Please use 'navigator.requestMediaKeySystemAccess()' instead.";
840 840
841 case AudioBufferSourceBufferOnce:
842 return "Setting AudioBufferSourceNode.buffer more than once is deprecate d and will no longer work in Chrome 43.";
843
841 // Features that aren't deprecated don't have a deprecation message. 844 // Features that aren't deprecated don't have a deprecation message.
842 default: 845 default:
843 return String(); 846 return String();
844 } 847 }
845 } 848 }
846 849
847 void UseCounter::count(CSSParserContext context, CSSPropertyID feature) 850 void UseCounter::count(CSSParserContext context, CSSPropertyID feature)
848 { 851 {
849 ASSERT(feature >= firstCSSProperty); 852 ASSERT(feature >= firstCSSProperty);
850 ASSERT(feature <= lastCSSProperty); 853 ASSERT(feature <= lastCSSProperty);
(...skipping 28 matching lines...) Expand all
879 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) 882 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents)
880 { 883 {
881 // FIXME: We may want to handle stylesheets that have multiple owners 884 // FIXME: We may want to handle stylesheets that have multiple owners
882 // http://crbug.com/242125 885 // http://crbug.com/242125
883 if (sheetContents && sheetContents->hasSingleOwnerNode()) 886 if (sheetContents && sheetContents->hasSingleOwnerNode())
884 return getFrom(sheetContents->singleOwnerDocument()); 887 return getFrom(sheetContents->singleOwnerDocument());
885 return 0; 888 return 0;
886 } 889 }
887 890
888 } // namespace blink 891 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/frame/UseCounter.h ('k') | Source/modules/webaudio/AudioBufferSourceNode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698