| OLD | NEW |
| 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 810 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 821 | 821 |
| 822 case PrefixedWindowURL: | 822 case PrefixedWindowURL: |
| 823 return replacedBy("webkitURL", "URL"); | 823 return replacedBy("webkitURL", "URL"); |
| 824 | 824 |
| 825 case PrefixedAudioContext: | 825 case PrefixedAudioContext: |
| 826 return replacedBy("webkitAudioContext", "AudioContext"); | 826 return replacedBy("webkitAudioContext", "AudioContext"); |
| 827 | 827 |
| 828 case PrefixedOfflineAudioContext: | 828 case PrefixedOfflineAudioContext: |
| 829 return replacedBy("webkitOfflineAudioContext", "OfflineAudioContext"); | 829 return replacedBy("webkitOfflineAudioContext", "OfflineAudioContext"); |
| 830 | 830 |
| 831 case RangeCompareNode: |
| 832 return replacedBy("Range.compareNode()", "Range.compareBoundaryPoints()"
); |
| 833 |
| 834 case RangeExpand: |
| 835 return replacedBy("Range.expand()", "Selection.modify()"); |
| 836 |
| 831 // Features that aren't deprecated don't have a deprecation message. | 837 // Features that aren't deprecated don't have a deprecation message. |
| 832 default: | 838 default: |
| 833 return String(); | 839 return String(); |
| 834 } | 840 } |
| 835 } | 841 } |
| 836 | 842 |
| 837 void UseCounter::count(CSSParserContext context, CSSPropertyID feature) | 843 void UseCounter::count(CSSParserContext context, CSSPropertyID feature) |
| 838 { | 844 { |
| 839 ASSERT(feature >= firstCSSProperty); | 845 ASSERT(feature >= firstCSSProperty); |
| 840 ASSERT(feature <= lastCSSProperty); | 846 ASSERT(feature <= lastCSSProperty); |
| (...skipping 28 matching lines...) Expand all Loading... |
| 869 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) | 875 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) |
| 870 { | 876 { |
| 871 // FIXME: We may want to handle stylesheets that have multiple owners | 877 // FIXME: We may want to handle stylesheets that have multiple owners |
| 872 // http://crbug.com/242125 | 878 // http://crbug.com/242125 |
| 873 if (sheetContents && sheetContents->hasSingleOwnerNode()) | 879 if (sheetContents && sheetContents->hasSingleOwnerNode()) |
| 874 return getFrom(sheetContents->singleOwnerDocument()); | 880 return getFrom(sheetContents->singleOwnerDocument()); |
| 875 return 0; | 881 return 0; |
| 876 } | 882 } |
| 877 | 883 |
| 878 } // namespace blink | 884 } // namespace blink |
| OLD | NEW |