| 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 692 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 703 | 703 |
| 704 case PrefixedRequestAnimationFrame: | 704 case PrefixedRequestAnimationFrame: |
| 705 return "'webkitRequestAnimationFrame' is vendor-specific. Please use the
standard 'requestAnimationFrame' instead."; | 705 return "'webkitRequestAnimationFrame' is vendor-specific. Please use the
standard 'requestAnimationFrame' instead."; |
| 706 | 706 |
| 707 case PrefixedCancelAnimationFrame: | 707 case PrefixedCancelAnimationFrame: |
| 708 return "'webkitCancelAnimationFrame' is vendor-specific. Please use the
standard 'cancelAnimationFrame' instead."; | 708 return "'webkitCancelAnimationFrame' is vendor-specific. Please use the
standard 'cancelAnimationFrame' instead."; |
| 709 | 709 |
| 710 case PrefixedCancelRequestAnimationFrame: | 710 case PrefixedCancelRequestAnimationFrame: |
| 711 return "'webkitCancelRequestAnimationFrame' is vendor-specific. Please u
se the standard 'cancelAnimationFrame' instead."; | 711 return "'webkitCancelRequestAnimationFrame' is vendor-specific. Please u
se the standard 'cancelAnimationFrame' instead."; |
| 712 | 712 |
| 713 case HTMLHtmlElementManifest: |
| 714 return "'HTMLHtmlElement.manifest' is deprecated. The manifest attribute
only has an effect during the early stages of document load."; |
| 715 |
| 713 // Features that aren't deprecated don't have a deprecation message. | 716 // Features that aren't deprecated don't have a deprecation message. |
| 714 default: | 717 default: |
| 715 return String(); | 718 return String(); |
| 716 } | 719 } |
| 717 } | 720 } |
| 718 | 721 |
| 719 void UseCounter::count(CSSParserContext context, CSSPropertyID feature) | 722 void UseCounter::count(CSSParserContext context, CSSPropertyID feature) |
| 720 { | 723 { |
| 721 ASSERT(feature >= firstCSSProperty); | 724 ASSERT(feature >= firstCSSProperty); |
| 722 ASSERT(feature <= lastCSSProperty); | 725 ASSERT(feature <= lastCSSProperty); |
| (...skipping 28 matching lines...) Expand all Loading... |
| 751 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) | 754 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) |
| 752 { | 755 { |
| 753 // FIXME: We may want to handle stylesheets that have multiple owners | 756 // FIXME: We may want to handle stylesheets that have multiple owners |
| 754 // http://crbug.com/242125 | 757 // http://crbug.com/242125 |
| 755 if (sheetContents && sheetContents->hasSingleOwnerNode()) | 758 if (sheetContents && sheetContents->hasSingleOwnerNode()) |
| 756 return getFrom(sheetContents->singleOwnerDocument()); | 759 return getFrom(sheetContents->singleOwnerDocument()); |
| 757 return 0; | 760 return 0; |
| 758 } | 761 } |
| 759 | 762 |
| 760 } // namespace WebCore | 763 } // namespace WebCore |
| OLD | NEW |