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

Unified Diff: Source/core/layout/LayoutRubyBase.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/layout/LayoutRuby.h ('k') | Source/core/layout/LayoutRubyBase.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutRubyBase.h
diff --git a/Source/core/layout/LayoutRubyBase.h b/Source/core/layout/LayoutRubyBase.h
index c6813b33b1e969debd39f507544c22e44dcf1b4d..76cb4a4005850b14b00ba5c8886050d5e6c295b3 100644
--- a/Source/core/layout/LayoutRubyBase.h
+++ b/Source/core/layout/LayoutRubyBase.h
@@ -55,9 +55,9 @@ private:
virtual ETextAlign textAlignmentForLine(bool endsWithSoftBreak) const override;
virtual void adjustInlineDirectionLineBounds(unsigned expansionOpportunityCount, LayoutUnit& logicalLeft, LayoutUnit& logicalWidth) const override;
- void moveChildren(LayoutRubyBase* toBase, LayoutObject* beforeChild = 0);
- void moveInlineChildren(LayoutRubyBase* toBase, LayoutObject* beforeChild = 0);
- void moveBlockChildren(LayoutRubyBase* toBase, LayoutObject* beforeChild = 0);
+ void moveChildren(LayoutRubyBase* toBase, LayoutObject* beforeChild = nullptr);
+ void moveInlineChildren(LayoutRubyBase* toBase, LayoutObject* beforeChild = nullptr);
+ void moveBlockChildren(LayoutRubyBase* toBase, LayoutObject* beforeChild = nullptr);
// Allow LayoutRubyRun to manipulate the children within ruby bases.
friend class LayoutRubyRun;
« no previous file with comments | « Source/core/layout/LayoutRuby.h ('k') | Source/core/layout/LayoutRubyBase.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698