Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9)

Side by Side Diff: third_party/WebKit/Source/core/layout/LayoutCounter.cpp

Issue 2700123003: DO NOT COMMIT: Results of running old (current) clang-format on Blink (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Library General Public License for more details. 13 * Library General Public License for more details.
14 * 14 *
15 * You should have received a copy of the GNU Library General Public License 15 * You should have received a copy of the GNU Library General Public License
16 * along with this library; see the file COPYING.LIB. If not, write to 16 * along with this library; see the file COPYING.LIB. If not, write to
17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18 * Boston, MA 02110-1301, USA. 18 * Boston, MA 02110-1301, USA.
19 * 19 *
20 */ 20 */
21 21
22 #include "core/layout/LayoutCounter.h" 22 #include "core/layout/LayoutCounter.h"
23 23
24 #include <memory>
24 #include "core/HTMLNames.h" 25 #include "core/HTMLNames.h"
25 #include "core/dom/Element.h" 26 #include "core/dom/Element.h"
26 #include "core/dom/ElementTraversal.h" 27 #include "core/dom/ElementTraversal.h"
27 #include "core/html/HTMLOListElement.h" 28 #include "core/html/HTMLOListElement.h"
28 #include "core/layout/CounterNode.h" 29 #include "core/layout/CounterNode.h"
29 #include "core/layout/LayoutListItem.h" 30 #include "core/layout/LayoutListItem.h"
30 #include "core/layout/LayoutView.h" 31 #include "core/layout/LayoutView.h"
31 #include "core/layout/ListMarkerText.h" 32 #include "core/layout/ListMarkerText.h"
32 #include "core/style/ComputedStyle.h" 33 #include "core/style/ComputedStyle.h"
33 #include "wtf/PtrUtil.h" 34 #include "wtf/PtrUtil.h"
34 #include "wtf/StdLibExtras.h" 35 #include "wtf/StdLibExtras.h"
35 #include <memory>
36 36
37 #ifndef NDEBUG 37 #ifndef NDEBUG
38 #include <stdio.h> 38 #include <stdio.h>
39 #endif 39 #endif
40 40
41 namespace blink { 41 namespace blink {
42 42
43 using namespace HTMLNames; 43 using namespace HTMLNames;
44 44
45 typedef HashMap<AtomicString, RefPtr<CounterNode>> CounterMap; 45 typedef HashMap<AtomicString, RefPtr<CounterNode>> CounterMap;
(...skipping 659 matching lines...) Expand 10 before | Expand all | Expand 10 after
705 current->parent(), current->previousSibling(), current->nextSibling(), 705 current->parent(), current->previousSibling(), current->nextSibling(),
706 current->hasCounterNodeMap() 706 current->hasCounterNodeMap()
707 ? counterName ? blink::counterMaps().get(current)->get(identifier) 707 ? counterName ? blink::counterMaps().get(current)->get(identifier)
708 : (blink::CounterNode*)1 708 : (blink::CounterNode*)1
709 : (blink::CounterNode*)0); 709 : (blink::CounterNode*)0);
710 } 710 }
711 fflush(stderr); 711 fflush(stderr);
712 } 712 }
713 713
714 #endif // NDEBUG 714 #endif // NDEBUG
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698