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: third_party/WebKit/Source/core/layout/LayoutRuby.cpp

Issue 2758683002: Replace ASSERT_NOT_REACHED with NOTREACHED in core/layout/ (Closed)
Patch Set: Rebase with latest Created 3 years, 9 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
Index: third_party/WebKit/Source/core/layout/LayoutRuby.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutRuby.cpp b/third_party/WebKit/Source/core/layout/LayoutRuby.cpp
index e9eca73c61b6a35f931f10328a2ce5228af2ad84..f44e766b31311c16ec2bcd1b2ed233d567f9a632 100644
--- a/third_party/WebKit/Source/core/layout/LayoutRuby.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutRuby.cpp
@@ -84,8 +84,8 @@ void LayoutRubyAsInline::addChild(LayoutObject* child,
run->addChild(child, beforeChild);
return;
}
- ASSERT_NOT_REACHED(); // beforeChild should always have a run as parent!
- // Emergency fallback: fall through and just append.
+ NOTREACHED(); // beforeChild should always have a run as parent!
+ // Emergency fallback: fall through and just append.
}
// If the new child would be appended, try to add the child to the previous
@@ -149,8 +149,8 @@ void LayoutRubyAsBlock::addChild(LayoutObject* child,
run->addChild(child, beforeChild);
return;
}
- ASSERT_NOT_REACHED(); // beforeChild should always have a run as parent!
- // Emergency fallback: fall through and just append.
+ NOTREACHED(); // beforeChild should always have a run as parent!
+ // Emergency fallback: fall through and just append.
}
// If the new child would be appended, try to add the child to the previous
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutRuby.h ('k') | third_party/WebKit/Source/core/layout/LayoutScrollbar.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698