| 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 473 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 484 case CSSPropertyWebkitAppRegion: return 412; | 484 case CSSPropertyWebkitAppRegion: return 412; |
| 485 case CSSPropertyWebkitFilter: return 413; | 485 case CSSPropertyWebkitFilter: return 413; |
| 486 case CSSPropertyWebkitBoxDecorationBreak: return 414; | 486 case CSSPropertyWebkitBoxDecorationBreak: return 414; |
| 487 case CSSPropertyWebkitTapHighlightColor: return 415; | 487 case CSSPropertyWebkitTapHighlightColor: return 415; |
| 488 case CSSPropertyBufferedRendering: return 416; | 488 case CSSPropertyBufferedRendering: return 416; |
| 489 case CSSPropertyWebkitGridAutoRows: return 417; | 489 case CSSPropertyWebkitGridAutoRows: return 417; |
| 490 case CSSPropertyWebkitGridAutoColumns: return 418; | 490 case CSSPropertyWebkitGridAutoColumns: return 418; |
| 491 case CSSPropertyBackgroundBlendMode: return 419; | 491 case CSSPropertyBackgroundBlendMode: return 419; |
| 492 case CSSPropertyMixBlendMode: return 420; | 492 case CSSPropertyMixBlendMode: return 420; |
| 493 case CSSPropertyTouchAction: return 421; | 493 case CSSPropertyTouchAction: return 421; |
| 494 case CSSPropertyPaintOrder: return 422; |
| 494 | 495 |
| 495 // Add new features above this line (don't change the assigned numbers of th
e existing | 496 // Add new features above this line (don't change the assigned numbers of th
e existing |
| 496 // items) and update maximumCSSSampleId() with the new maximum value. | 497 // items) and update maximumCSSSampleId() with the new maximum value. |
| 497 | 498 |
| 498 case CSSPropertyInvalid: | 499 case CSSPropertyInvalid: |
| 499 case CSSPropertyVariable: | 500 case CSSPropertyVariable: |
| 500 ASSERT_NOT_REACHED(); | 501 ASSERT_NOT_REACHED(); |
| 501 return 0; | 502 return 0; |
| 502 } | 503 } |
| 503 | 504 |
| (...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 667 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) | 668 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) |
| 668 { | 669 { |
| 669 // FIXME: We may want to handle stylesheets that have multiple owners | 670 // FIXME: We may want to handle stylesheets that have multiple owners |
| 670 // http://crbug.com/242125 | 671 // http://crbug.com/242125 |
| 671 if (sheetContents && !sheetContents->isUserStyleSheet() && sheetContents->ha
sSingleOwnerNode()) | 672 if (sheetContents && !sheetContents->isUserStyleSheet() && sheetContents->ha
sSingleOwnerNode()) |
| 672 return getFrom(sheetContents->singleOwnerDocument()); | 673 return getFrom(sheetContents->singleOwnerDocument()); |
| 673 return 0; | 674 return 0; |
| 674 } | 675 } |
| 675 | 676 |
| 676 } // namespace WebCore | 677 } // namespace WebCore |
| OLD | NEW |