| OLD | NEW |
| 1 |
| 1 /* | 2 /* |
| 2 * Copyright (C) 2012 Google, Inc. All rights reserved. | 3 * Copyright (C) 2012 Google, Inc. All rights reserved. |
| 3 * | 4 * |
| 4 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 6 * are met: | 7 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 11 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 289 case CSSPropertyFlexBasis: return 234; | 290 case CSSPropertyFlexBasis: return 234; |
| 290 case CSSPropertyFlexDirection: return 235; | 291 case CSSPropertyFlexDirection: return 235; |
| 291 case CSSPropertyFlexFlow: return 236; | 292 case CSSPropertyFlexFlow: return 236; |
| 292 case CSSPropertyFlexGrow: return 237; | 293 case CSSPropertyFlexGrow: return 237; |
| 293 case CSSPropertyFlexShrink: return 238; | 294 case CSSPropertyFlexShrink: return 238; |
| 294 case CSSPropertyFlexWrap: return 239; | 295 case CSSPropertyFlexWrap: return 239; |
| 295 case CSSPropertyJustifyContent: return 240; | 296 case CSSPropertyJustifyContent: return 240; |
| 296 case CSSPropertyWebkitFontSizeDelta: return 241; | 297 case CSSPropertyWebkitFontSizeDelta: return 241; |
| 297 case CSSPropertyGridDefinitionColumns: return 242; | 298 case CSSPropertyGridDefinitionColumns: return 242; |
| 298 case CSSPropertyGridDefinitionRows: return 243; | 299 case CSSPropertyGridDefinitionRows: return 243; |
| 299 case CSSPropertyGridStart: return 244; | 300 case CSSPropertyGridColumnStart: return 244; |
| 300 case CSSPropertyGridEnd: return 245; | 301 case CSSPropertyGridColumnEnd: return 245; |
| 301 case CSSPropertyGridBefore: return 246; | 302 case CSSPropertyGridRowStart: return 246; |
| 302 case CSSPropertyGridAfter: return 247; | 303 case CSSPropertyGridRowEnd: return 247; |
| 303 case CSSPropertyGridColumn: return 248; | 304 case CSSPropertyGridColumn: return 248; |
| 304 case CSSPropertyGridRow: return 249; | 305 case CSSPropertyGridRow: return 249; |
| 305 case CSSPropertyGridAutoFlow: return 250; | 306 case CSSPropertyGridAutoFlow: return 250; |
| 306 case CSSPropertyWebkitHighlight: return 251; | 307 case CSSPropertyWebkitHighlight: return 251; |
| 307 case CSSPropertyWebkitHyphenateCharacter: return 252; | 308 case CSSPropertyWebkitHyphenateCharacter: return 252; |
| 308 case CSSPropertyWebkitHyphenateLimitAfter: return 253; | 309 case CSSPropertyWebkitHyphenateLimitAfter: return 253; |
| 309 case CSSPropertyWebkitHyphenateLimitBefore: return 254; | 310 case CSSPropertyWebkitHyphenateLimitBefore: return 254; |
| 310 case CSSPropertyWebkitHyphenateLimitLines: return 255; | 311 case CSSPropertyWebkitHyphenateLimitLines: return 255; |
| 311 case CSSPropertyWebkitHyphens: return 256; | 312 case CSSPropertyWebkitHyphens: return 256; |
| 312 case CSSPropertyWebkitLineBoxContain: return 257; | 313 case CSSPropertyWebkitLineBoxContain: return 257; |
| (...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 671 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) | 672 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) |
| 672 { | 673 { |
| 673 // FIXME: We may want to handle stylesheets that have multiple owners | 674 // FIXME: We may want to handle stylesheets that have multiple owners |
| 674 // http://crbug.com/242125 | 675 // http://crbug.com/242125 |
| 675 if (sheetContents && !sheetContents->isUserStyleSheet() && sheetContents->ha
sSingleOwnerNode()) | 676 if (sheetContents && !sheetContents->isUserStyleSheet() && sheetContents->ha
sSingleOwnerNode()) |
| 676 return getFrom(sheetContents->singleOwnerDocument()); | 677 return getFrom(sheetContents->singleOwnerDocument()); |
| 677 return 0; | 678 return 0; |
| 678 } | 679 } |
| 679 | 680 |
| 680 } // namespace WebCore | 681 } // namespace WebCore |
| OLD | NEW |