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

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

Issue 1835773002: Rename AtomicString::string() to AtomicString::getString(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Windows Created 4 years, 8 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) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * Copyright (C) 2003, 2004, 2005, 2006, 2010 Apple Inc. All rights reserved. 4 * Copyright (C) 2003, 2004, 2005, 2006, 2010 Apple Inc. All rights reserved.
5 * Copyright (C) 2006 Andrew Wellington (proton@wiretapped.net) 5 * Copyright (C) 2006 Andrew Wellington (proton@wiretapped.net)
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 417 matching lines...) Expand 10 before | Expand all | Expand 10 after
428 428
429 void LayoutListItem::paint(const PaintInfo& paintInfo, const LayoutPoint& paintO ffset) const 429 void LayoutListItem::paint(const PaintInfo& paintInfo, const LayoutPoint& paintO ffset) const
430 { 430 {
431 ListItemPainter(*this).paint(paintInfo, paintOffset); 431 ListItemPainter(*this).paint(paintInfo, paintOffset);
432 } 432 }
433 433
434 const String& LayoutListItem::markerText() const 434 const String& LayoutListItem::markerText() const
435 { 435 {
436 if (m_marker) 436 if (m_marker)
437 return m_marker->text(); 437 return m_marker->text();
438 return nullAtom.string(); 438 return nullAtom.getString();
439 } 439 }
440 440
441 void LayoutListItem::explicitValueChanged() 441 void LayoutListItem::explicitValueChanged()
442 { 442 {
443 if (m_marker) 443 if (m_marker)
444 m_marker->setNeedsLayoutAndPrefWidthsRecalcAndFullPaintInvalidation(Layo utInvalidationReason::ListValueChange); 444 m_marker->setNeedsLayoutAndPrefWidthsRecalcAndFullPaintInvalidation(Layo utInvalidationReason::ListValueChange);
445 Node* listNode = enclosingList(this); 445 Node* listNode = enclosingList(this);
446 for (LayoutListItem* item = this; item; item = nextListItem(listNode, item)) 446 for (LayoutListItem* item = this; item; item = nextListItem(listNode, item))
447 item->updateValue(); 447 item->updateValue();
448 } 448 }
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
510 // assume that all the following ones have too. 510 // assume that all the following ones have too.
511 // This gives us the opportunity to stop here and avoid 511 // This gives us the opportunity to stop here and avoid
512 // marking the same nodes again. 512 // marking the same nodes again.
513 break; 513 break;
514 } 514 }
515 item->updateValue(); 515 item->updateValue();
516 } 516 }
517 } 517 }
518 518
519 } // namespace blink 519 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/inspector/InspectorTraceEvents.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutText.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698