| 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 482 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 493 case CSSPropertyIsolation: return 436; | 493 case CSSPropertyIsolation: return 436; |
| 494 case CSSPropertyObjectPosition: return 437; | 494 case CSSPropertyObjectPosition: return 437; |
| 495 case CSSPropertyInternalCallback: return 438; | 495 case CSSPropertyInternalCallback: return 438; |
| 496 case CSSPropertyShapeImageThreshold: return 439; | 496 case CSSPropertyShapeImageThreshold: return 439; |
| 497 case CSSPropertyColumnFill: return 440; | 497 case CSSPropertyColumnFill: return 440; |
| 498 case CSSPropertyTextJustify: return 441; | 498 case CSSPropertyTextJustify: return 441; |
| 499 case CSSPropertyTouchActionDelay: return 442; | 499 case CSSPropertyTouchActionDelay: return 442; |
| 500 case CSSPropertyJustifySelf: return 443; | 500 case CSSPropertyJustifySelf: return 443; |
| 501 case CSSPropertyScrollBehavior: return 444; | 501 case CSSPropertyScrollBehavior: return 444; |
| 502 case CSSPropertyWillChange: return 445; | 502 case CSSPropertyWillChange: return 445; |
| 503 case CSSPropertyGridTemplate: return 446; |
| 503 | 504 |
| 504 // Add new features above this line (don't change the assigned numbers of th
e existing | 505 // Add new features above this line (don't change the assigned numbers of th
e existing |
| 505 // items) and update maximumCSSSampleId() with the new maximum value. | 506 // items) and update maximumCSSSampleId() with the new maximum value. |
| 506 | 507 |
| 507 // Internal properties should not be counted. | 508 // Internal properties should not be counted. |
| 508 case CSSPropertyInternalMarqueeDirection: | 509 case CSSPropertyInternalMarqueeDirection: |
| 509 case CSSPropertyInternalMarqueeIncrement: | 510 case CSSPropertyInternalMarqueeIncrement: |
| 510 case CSSPropertyInternalMarqueeRepetition: | 511 case CSSPropertyInternalMarqueeRepetition: |
| 511 case CSSPropertyInternalMarqueeSpeed: | 512 case CSSPropertyInternalMarqueeSpeed: |
| 512 case CSSPropertyInternalMarqueeStyle: | 513 case CSSPropertyInternalMarqueeStyle: |
| (...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 726 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) | 727 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) |
| 727 { | 728 { |
| 728 // FIXME: We may want to handle stylesheets that have multiple owners | 729 // FIXME: We may want to handle stylesheets that have multiple owners |
| 729 // http://crbug.com/242125 | 730 // http://crbug.com/242125 |
| 730 if (sheetContents && sheetContents->hasSingleOwnerNode()) | 731 if (sheetContents && sheetContents->hasSingleOwnerNode()) |
| 731 return getFrom(sheetContents->singleOwnerDocument()); | 732 return getFrom(sheetContents->singleOwnerDocument()); |
| 732 return 0; | 733 return 0; |
| 733 } | 734 } |
| 734 | 735 |
| 735 } // namespace WebCore | 736 } // namespace WebCore |
| OLD | NEW |