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

Side by Side Diff: Source/core/layout/line/LineBoxList.h

Issue 1162383003: C++11: Replace 0 with nullptr where applicable in layout code. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add one more file. Created 5 years, 6 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
« no previous file with comments | « Source/core/layout/line/LayoutTextInfo.h ('k') | Source/core/layout/line/LineBoxList.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2009 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
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 20 matching lines...) Expand all
31 #define LineBoxList_h 31 #define LineBoxList_h
32 32
33 #include "core/layout/LayoutObject.h" 33 #include "core/layout/LayoutObject.h"
34 34
35 namespace blink { 35 namespace blink {
36 36
37 class InlineFlowBox; 37 class InlineFlowBox;
38 class LineBoxList { 38 class LineBoxList {
39 public: 39 public:
40 LineBoxList() 40 LineBoxList()
41 : m_firstLineBox(0) 41 : m_firstLineBox(nullptr)
42 , m_lastLineBox(0) 42 , m_lastLineBox(nullptr)
43 { 43 {
44 } 44 }
45 45
46 #if ENABLE(ASSERT) 46 #if ENABLE(ASSERT)
47 ~LineBoxList(); 47 ~LineBoxList();
48 #endif 48 #endif
49 49
50 InlineFlowBox* firstLineBox() const { return m_firstLineBox; } 50 InlineFlowBox* firstLineBox() const { return m_firstLineBox; }
51 InlineFlowBox* lastLineBox() const { return m_lastLineBox; } 51 InlineFlowBox* lastLineBox() const { return m_lastLineBox; }
52 52
(...skipping 28 matching lines...) Expand all
81 81
82 #if !ENABLE(ASSERT) 82 #if !ENABLE(ASSERT)
83 inline void LineBoxList::checkConsistency() const 83 inline void LineBoxList::checkConsistency() const
84 { 84 {
85 } 85 }
86 #endif 86 #endif
87 87
88 } // namespace blink 88 } // namespace blink
89 89
90 #endif // LineBoxList_h 90 #endif // LineBoxList_h
OLDNEW
« no previous file with comments | « Source/core/layout/line/LayoutTextInfo.h ('k') | Source/core/layout/line/LineBoxList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698