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

Unified Diff: Source/core/layout/LayoutRubyRun.cpp

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/LayoutRubyRun.h ('k') | Source/core/layout/LayoutScrollbar.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutRubyRun.cpp
diff --git a/Source/core/layout/LayoutRubyRun.cpp b/Source/core/layout/LayoutRubyRun.cpp
index 913f50ff326116aadada4ea0260e3a0570920c66..7f8c29ebb40be920c55315f5d75e30c339831768 100644
--- a/Source/core/layout/LayoutRubyRun.cpp
+++ b/Source/core/layout/LayoutRubyRun.cpp
@@ -39,7 +39,7 @@
namespace blink {
LayoutRubyRun::LayoutRubyRun()
- : LayoutBlockFlow(0)
+ : LayoutBlockFlow(nullptr)
{
setReplaced(true);
setInline(true);
@@ -206,7 +206,7 @@ LayoutObject* LayoutRubyRun::layoutSpecialExcludedChild(bool relayoutChildren, S
// Don't bother positioning the LayoutRubyRun yet.
LayoutRubyText* rt = rubyText();
if (!rt)
- return 0;
+ return nullptr;
if (relayoutChildren)
layoutScope.setChildNeedsLayout(rt);
rt->layoutIfNeeded();
« no previous file with comments | « Source/core/layout/LayoutRubyRun.h ('k') | Source/core/layout/LayoutScrollbar.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698