OLD | NEW |
---|---|
1 /* | 1 /* |
2 * Copyright (C) 2012 Google, Inc. All rights reserved. | 2 * Copyright (C) 2012 Google, Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 830 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
841 | 841 |
842 case PrefixedWindowURL: | 842 case PrefixedWindowURL: |
843 return replacedBy("webkitURL", "URL"); | 843 return replacedBy("webkitURL", "URL"); |
844 | 844 |
845 case PrefixedAudioContext: | 845 case PrefixedAudioContext: |
846 return replacedBy("webkitAudioContext", "AudioContext"); | 846 return replacedBy("webkitAudioContext", "AudioContext"); |
847 | 847 |
848 case PrefixedOfflineAudioContext: | 848 case PrefixedOfflineAudioContext: |
849 return replacedBy("webkitOfflineAudioContext", "OfflineAudioContext"); | 849 return replacedBy("webkitOfflineAudioContext", "OfflineAudioContext"); |
850 | 850 |
851 case RangeCompareNode: | |
philipj_slow
2015/06/08 10:12:27
Also remove the entry from UseCounter.h
deepak.s
2015/06/08 11:44:02
Done.
| |
852 return replacedBy("Range.compareNode()", "Range.compareBoundaryPoints()" ); | |
853 | |
854 case RangeExpand: | 851 case RangeExpand: |
855 return replacedBy("Range.expand()", "Selection.modify()"); | 852 return replacedBy("Range.expand()", "Selection.modify()"); |
856 | 853 |
857 case PrefixedMediaAddKey: | 854 case PrefixedMediaAddKey: |
858 case PrefixedMediaGenerateKeyRequest: | 855 case PrefixedMediaGenerateKeyRequest: |
859 case PrefixedMediaCancelKeyRequest: | 856 case PrefixedMediaCancelKeyRequest: |
860 return "The prefixed Encrypted Media Extensions APIs are deprecated and will be removed in M46 (beta around September 2015). Please use 'navigator.reque stMediaKeySystemAccess()' instead."; | 857 return "The prefixed Encrypted Media Extensions APIs are deprecated and will be removed in M46 (beta around September 2015). Please use 'navigator.reque stMediaKeySystemAccess()' instead."; |
861 | 858 |
862 case CanPlayTypeKeySystem: | 859 case CanPlayTypeKeySystem: |
863 return "canPlayType()'s 'keySystem' parameter is deprecated and will be ignored in M46 (beta around September 2015). Please use 'navigator.requestMediaK eySystemAccess()' instead."; | 860 return "canPlayType()'s 'keySystem' parameter is deprecated and will be ignored in M46 (beta around September 2015). Please use 'navigator.requestMediaK eySystemAccess()' instead."; |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
963 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) | 960 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) |
964 { | 961 { |
965 // FIXME: We may want to handle stylesheets that have multiple owners | 962 // FIXME: We may want to handle stylesheets that have multiple owners |
966 // http://crbug.com/242125 | 963 // http://crbug.com/242125 |
967 if (sheetContents && sheetContents->hasSingleOwnerNode()) | 964 if (sheetContents && sheetContents->hasSingleOwnerNode()) |
968 return getFrom(sheetContents->singleOwnerDocument()); | 965 return getFrom(sheetContents->singleOwnerDocument()); |
969 return 0; | 966 return 0; |
970 } | 967 } |
971 | 968 |
972 } // namespace blink | 969 } // namespace blink |
OLD | NEW |