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

Side by Side Diff: Source/core/layout/LayoutTableCell.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/LayoutTable.cpp ('k') | Source/core/layout/LayoutTableCell.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) 1997 Martin Jones (mjones@kde.org) 2 * Copyright (C) 1997 Martin Jones (mjones@kde.org)
3 * (C) 1997 Torben Weis (weis@kde.org) 3 * (C) 1997 Torben Weis (weis@kde.org)
4 * (C) 1998 Waldo Bastian (bastian@kde.org) 4 * (C) 1998 Waldo Bastian (bastian@kde.org)
5 * (C) 1999 Lars Knoll (knoll@kde.org) 5 * (C) 1999 Lars Knoll (knoll@kde.org)
6 * (C) 1999 Antti Koivisto (koivisto@kde.org) 6 * (C) 1999 Antti Koivisto (koivisto@kde.org)
7 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2009, 2013 Apple Inc. All rights reserved. 7 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2009, 2013 Apple Inc. All rights reserved.
8 * 8 *
9 * This library is free software; you can redistribute it and/or 9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Library General Public 10 * modify it under the terms of the GNU Library General Public
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 237
238 virtual void willBeRemovedFromTree() override; 238 virtual void willBeRemovedFromTree() override;
239 239
240 virtual void updateLogicalWidth() override; 240 virtual void updateLogicalWidth() override;
241 241
242 virtual void paintBoxDecorationBackground(const PaintInfo&, const LayoutPoin t&) override; 242 virtual void paintBoxDecorationBackground(const PaintInfo&, const LayoutPoin t&) override;
243 virtual void paintMask(const PaintInfo&, const LayoutPoint&) override; 243 virtual void paintMask(const PaintInfo&, const LayoutPoint&) override;
244 244
245 virtual bool boxShadowShouldBeAppliedToBackground(BackgroundBleedAvoidance, InlineFlowBox*) const override; 245 virtual bool boxShadowShouldBeAppliedToBackground(BackgroundBleedAvoidance, InlineFlowBox*) const override;
246 246
247 virtual LayoutSize offsetFromContainer(const LayoutObject*, const LayoutPoin t&, bool* offsetDependsOnPoint = 0) const override; 247 virtual LayoutSize offsetFromContainer(const LayoutObject*, const LayoutPoin t&, bool* offsetDependsOnPoint = nullptr) const override;
248 virtual LayoutRect clippedOverflowRectForPaintInvalidation(const LayoutBoxMo delObject* paintInvalidationContainer, const PaintInvalidationState* = 0) const override; 248 virtual LayoutRect clippedOverflowRectForPaintInvalidation(const LayoutBoxMo delObject* paintInvalidationContainer, const PaintInvalidationState* = nullptr) const override;
249 virtual void mapRectToPaintInvalidationBacking(const LayoutBoxModelObject* p aintInvalidationContainer, LayoutRect&, const PaintInvalidationState*) const ove rride; 249 virtual void mapRectToPaintInvalidationBacking(const LayoutBoxModelObject* p aintInvalidationContainer, LayoutRect&, const PaintInvalidationState*) const ove rride;
250 250
251 int borderHalfLeft(bool outer) const; 251 int borderHalfLeft(bool outer) const;
252 int borderHalfRight(bool outer) const; 252 int borderHalfRight(bool outer) const;
253 int borderHalfTop(bool outer) const; 253 int borderHalfTop(bool outer) const;
254 int borderHalfBottom(bool outer) const; 254 int borderHalfBottom(bool outer) const;
255 255
256 int borderHalfStart(bool outer) const; 256 int borderHalfStart(bool outer) const;
257 int borderHalfEnd(bool outer) const; 257 int borderHalfEnd(bool outer) const;
258 int borderHalfBefore(bool outer) const; 258 int borderHalfBefore(bool outer) const;
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
309 309
310 inline LayoutTableCell* LayoutTableRow::lastCell() const 310 inline LayoutTableCell* LayoutTableRow::lastCell() const
311 { 311 {
312 ASSERT(children() == virtualChildren()); 312 ASSERT(children() == virtualChildren());
313 return toLayoutTableCell(children()->lastChild()); 313 return toLayoutTableCell(children()->lastChild());
314 } 314 }
315 315
316 } // namespace blink 316 } // namespace blink
317 317
318 #endif // LayoutTableCell_h 318 #endif // LayoutTableCell_h
OLDNEW
« no previous file with comments | « Source/core/layout/LayoutTable.cpp ('k') | Source/core/layout/LayoutTableCell.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698