OLD | NEW |
1 /** | 1 /** |
2 * Copyright (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com) | 2 * Copyright (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com) |
3 * Copyright (C) 2006, 2007 Apple Inc. All rights reserved. | 3 * Copyright (C) 2006, 2007 Apple Inc. All rights reserved. |
4 * | 4 * |
5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
9 * | 9 * |
10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
(...skipping 14 matching lines...) Expand all Loading... |
25 #include "core/HTMLNames.h" | 25 #include "core/HTMLNames.h" |
26 #include "core/dom/Element.h" | 26 #include "core/dom/Element.h" |
27 #include "core/dom/ElementTraversal.h" | 27 #include "core/dom/ElementTraversal.h" |
28 #include "core/dom/PseudoElement.h" | 28 #include "core/dom/PseudoElement.h" |
29 #include "core/html/HTMLOListElement.h" | 29 #include "core/html/HTMLOListElement.h" |
30 #include "core/layout/CounterNode.h" | 30 #include "core/layout/CounterNode.h" |
31 #include "core/layout/LayoutListItem.h" | 31 #include "core/layout/LayoutListItem.h" |
32 #include "core/layout/LayoutView.h" | 32 #include "core/layout/LayoutView.h" |
33 #include "core/layout/ListMarkerText.h" | 33 #include "core/layout/ListMarkerText.h" |
34 #include "core/style/ComputedStyle.h" | 34 #include "core/style/ComputedStyle.h" |
35 #include "wtf/PtrUtil.h" | 35 #include "platform/wtf/PtrUtil.h" |
36 #include "wtf/StdLibExtras.h" | 36 #include "platform/wtf/StdLibExtras.h" |
37 | 37 |
38 #ifndef NDEBUG | 38 #ifndef NDEBUG |
39 #include <stdio.h> | 39 #include <stdio.h> |
40 #endif | 40 #endif |
41 | 41 |
42 namespace blink { | 42 namespace blink { |
43 | 43 |
44 using namespace HTMLNames; | 44 using namespace HTMLNames; |
45 | 45 |
46 typedef HashMap<AtomicString, RefPtr<CounterNode>> CounterMap; | 46 typedef HashMap<AtomicString, RefPtr<CounterNode>> CounterMap; |
(...skipping 668 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
715 current->Parent(), current->PreviousSibling(), current->NextSibling(), | 715 current->Parent(), current->PreviousSibling(), current->NextSibling(), |
716 current->HasCounterNodeMap() | 716 current->HasCounterNodeMap() |
717 ? counterName ? blink::GetCounterMaps().at(current)->at(identifier) | 717 ? counterName ? blink::GetCounterMaps().at(current)->at(identifier) |
718 : (blink::CounterNode*)1 | 718 : (blink::CounterNode*)1 |
719 : (blink::CounterNode*)0); | 719 : (blink::CounterNode*)0); |
720 } | 720 } |
721 fflush(stderr); | 721 fflush(stderr); |
722 } | 722 } |
723 | 723 |
724 #endif // NDEBUG | 724 #endif // NDEBUG |
OLD | NEW |