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

Unified Diff: Source/core/layout/LayoutRuby.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/LayoutReplica.cpp ('k') | Source/core/layout/LayoutRubyBase.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutRuby.h
diff --git a/Source/core/layout/LayoutRuby.h b/Source/core/layout/LayoutRuby.h
index b56d4f21ed328864d565e306e10e6b3fe14ad3ff..9b68838bc1a908f66d611f2e58e7ed611c296d7d 100644
--- a/Source/core/layout/LayoutRuby.h
+++ b/Source/core/layout/LayoutRuby.h
@@ -56,7 +56,7 @@ public:
LayoutRubyAsInline(Element*);
virtual ~LayoutRubyAsInline();
- virtual void addChild(LayoutObject* child, LayoutObject* beforeChild = 0) override;
+ virtual void addChild(LayoutObject* child, LayoutObject* beforeChild = nullptr) override;
virtual void removeChild(LayoutObject* child) override;
virtual const char* name() const override { return "LayoutRuby (inline)"; }
@@ -75,7 +75,7 @@ public:
LayoutRubyAsBlock(Element*);
virtual ~LayoutRubyAsBlock();
- virtual void addChild(LayoutObject* child, LayoutObject* beforeChild = 0) override;
+ virtual void addChild(LayoutObject* child, LayoutObject* beforeChild = nullptr) override;
virtual void removeChild(LayoutObject* child) override;
virtual const char* name() const override { return "LayoutRuby (block)"; }
« no previous file with comments | « Source/core/layout/LayoutReplica.cpp ('k') | Source/core/layout/LayoutRubyBase.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698