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

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: 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 unified diff | Download patch | Annotate | Revision Log
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 812 matching lines...) Expand 10 before | Expand all | Expand 10 after
823 823
824 case PrefixedOfflineAudioContext: 824 case PrefixedOfflineAudioContext:
825 return replacedBy("webkitOfflineAudioContext", "OfflineAudioContext"); 825 return replacedBy("webkitOfflineAudioContext", "OfflineAudioContext");
826 826
827 case RangeCompareNode: 827 case RangeCompareNode:
828 return replacedBy("Range.compareNode()", "Range.compareBoundaryPoints()" ); 828 return replacedBy("Range.compareNode()", "Range.compareBoundaryPoints()" );
829 829
830 case RangeExpand: 830 case RangeExpand:
831 return replacedBy("Range.expand()", "Selection.modify()"); 831 return replacedBy("Range.expand()", "Selection.modify()");
832 832
833 case AudioBufferSourceBufferOnce:
834 return "Setting AudioBufferSourceNode.buffer more than once is deprecate d 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
835
833 // Features that aren't deprecated don't have a deprecation message. 836 // Features that aren't deprecated don't have a deprecation message.
834 default: 837 default:
835 return String(); 838 return String();
836 } 839 }
837 } 840 }
838 841
839 void UseCounter::count(CSSParserContext context, CSSPropertyID feature) 842 void UseCounter::count(CSSParserContext context, CSSPropertyID feature)
840 { 843 {
841 ASSERT(feature >= firstCSSProperty); 844 ASSERT(feature >= firstCSSProperty);
842 ASSERT(feature <= lastCSSProperty); 845 ASSERT(feature <= lastCSSProperty);
(...skipping 28 matching lines...) Expand all
871 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) 874 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents)
872 { 875 {
873 // FIXME: We may want to handle stylesheets that have multiple owners 876 // FIXME: We may want to handle stylesheets that have multiple owners
874 // http://crbug.com/242125 877 // http://crbug.com/242125
875 if (sheetContents && sheetContents->hasSingleOwnerNode()) 878 if (sheetContents && sheetContents->hasSingleOwnerNode())
876 return getFrom(sheetContents->singleOwnerDocument()); 879 return getFrom(sheetContents->singleOwnerDocument());
877 return 0; 880 return 0;
878 } 881 }
879 882
880 } // namespace blink 883 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698