| 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 943 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 954 | 954 |
| 955 case V8SVGElement_OffsetHeight_AttributeGetter: | 955 case V8SVGElement_OffsetHeight_AttributeGetter: |
| 956 return willBeRemoved("'SVGElement.offsetHeight'", 50, "5724912467574784"
); | 956 return willBeRemoved("'SVGElement.offsetHeight'", 50, "5724912467574784"
); |
| 957 | 957 |
| 958 case MediaStreamTrackGetSources: | 958 case MediaStreamTrackGetSources: |
| 959 return "MediaStreamTrack.getSources is deprecated. See https://www.chrom
estatus.com/feature/4765305641369600 for more details."; | 959 return "MediaStreamTrack.getSources is deprecated. See https://www.chrom
estatus.com/feature/4765305641369600 for more details."; |
| 960 | 960 |
| 961 case CSSXGetComputedStyleQueries: | 961 case CSSXGetComputedStyleQueries: |
| 962 return replacedWillBeRemoved("'getComputedStyle(e).cssXx' (except .cssFl
oat)", "'getComputedStyle(e).xx'", 50, "5006796888473600"); | 962 return replacedWillBeRemoved("'getComputedStyle(e).cssXx' (except .cssFl
oat)", "'getComputedStyle(e).xx'", 50, "5006796888473600"); |
| 963 | 963 |
| 964 case DocumentDefaultCharset: |
| 965 return willBeRemoved("'Document.defaultCharset'", 50, "6217124578066432"
); |
| 966 |
| 964 // Features that aren't deprecated don't have a deprecation message. | 967 // Features that aren't deprecated don't have a deprecation message. |
| 965 default: | 968 default: |
| 966 return String(); | 969 return String(); |
| 967 } | 970 } |
| 968 } | 971 } |
| 969 | 972 |
| 970 void UseCounter::count(CSSParserMode cssParserMode, CSSPropertyID feature) | 973 void UseCounter::count(CSSParserMode cssParserMode, CSSPropertyID feature) |
| 971 { | 974 { |
| 972 ASSERT(feature >= firstCSSProperty); | 975 ASSERT(feature >= firstCSSProperty); |
| 973 ASSERT(feature <= lastUnresolvedCSSProperty); | 976 ASSERT(feature <= lastUnresolvedCSSProperty); |
| (...skipping 27 matching lines...) Expand all Loading... |
| 1001 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) | 1004 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) |
| 1002 { | 1005 { |
| 1003 // FIXME: We may want to handle stylesheets that have multiple owners | 1006 // FIXME: We may want to handle stylesheets that have multiple owners |
| 1004 // https://crbug.com/242125 | 1007 // https://crbug.com/242125 |
| 1005 if (sheetContents && sheetContents->hasSingleOwnerNode()) | 1008 if (sheetContents && sheetContents->hasSingleOwnerNode()) |
| 1006 return getFrom(sheetContents->singleOwnerDocument()); | 1009 return getFrom(sheetContents->singleOwnerDocument()); |
| 1007 return 0; | 1010 return 0; |
| 1008 } | 1011 } |
| 1009 | 1012 |
| 1010 } // namespace blink | 1013 } // namespace blink |
| OLD | NEW |