| 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 478 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 489 case CSSPropertyPaintOrder: return 434; | 489 case CSSPropertyPaintOrder: return 434; |
| 490 case CSSPropertyMaskSourceType: return 435; | 490 case CSSPropertyMaskSourceType: return 435; |
| 491 case CSSPropertyIsolation: return 436; | 491 case CSSPropertyIsolation: return 436; |
| 492 case CSSPropertyObjectPosition: return 437; | 492 case CSSPropertyObjectPosition: return 437; |
| 493 case CSSPropertyInternalCallback: return 438; | 493 case CSSPropertyInternalCallback: return 438; |
| 494 case CSSPropertyShapeImageThreshold: return 439; | 494 case CSSPropertyShapeImageThreshold: return 439; |
| 495 case CSSPropertyColumnFill: return 440; | 495 case CSSPropertyColumnFill: return 440; |
| 496 case CSSPropertyTextJustify: return 441; | 496 case CSSPropertyTextJustify: return 441; |
| 497 case CSSPropertyTouchActionDelay: return 442; | 497 case CSSPropertyTouchActionDelay: return 442; |
| 498 case CSSPropertyJustifySelf: return 443; | 498 case CSSPropertyJustifySelf: return 443; |
| 499 case CSSPropertyScrollBehavior: return 444; |
| 499 | 500 |
| 500 // Add new features above this line (don't change the assigned numbers of th
e existing | 501 // Add new features above this line (don't change the assigned numbers of th
e existing |
| 501 // items) and update maximumCSSSampleId() with the new maximum value. | 502 // items) and update maximumCSSSampleId() with the new maximum value. |
| 502 | 503 |
| 503 // Internal properties should not be counted. | 504 // Internal properties should not be counted. |
| 504 case CSSPropertyInternalMarqueeDirection: | 505 case CSSPropertyInternalMarqueeDirection: |
| 505 case CSSPropertyInternalMarqueeIncrement: | 506 case CSSPropertyInternalMarqueeIncrement: |
| 506 case CSSPropertyInternalMarqueeRepetition: | 507 case CSSPropertyInternalMarqueeRepetition: |
| 507 case CSSPropertyInternalMarqueeSpeed: | 508 case CSSPropertyInternalMarqueeSpeed: |
| 508 case CSSPropertyInternalMarqueeStyle: | 509 case CSSPropertyInternalMarqueeStyle: |
| (...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 737 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) | 738 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) |
| 738 { | 739 { |
| 739 // FIXME: We may want to handle stylesheets that have multiple owners | 740 // FIXME: We may want to handle stylesheets that have multiple owners |
| 740 // http://crbug.com/242125 | 741 // http://crbug.com/242125 |
| 741 if (sheetContents && sheetContents->hasSingleOwnerNode()) | 742 if (sheetContents && sheetContents->hasSingleOwnerNode()) |
| 742 return getFrom(sheetContents->singleOwnerDocument()); | 743 return getFrom(sheetContents->singleOwnerDocument()); |
| 743 return 0; | 744 return 0; |
| 744 } | 745 } |
| 745 | 746 |
| 746 } // namespace WebCore | 747 } // namespace WebCore |
| OLD | NEW |