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

Unified Diff: third_party/WebKit/Source/platform/geometry/LayoutRectOutsets.cpp

Issue 2849903002: Replace ASSERT_NOT_REACHED with NOTREACHED in platform/ (Closed)
Patch Set: rebase Created 3 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/platform/geometry/LayoutRectOutsets.cpp
diff --git a/third_party/WebKit/Source/platform/geometry/LayoutRectOutsets.cpp b/third_party/WebKit/Source/platform/geometry/LayoutRectOutsets.cpp
index 950edd603fd35582638502b6ed4d603aee98374a..06c97f96bce3f5f4c6e07f4ad182927f2aff11f4 100644
--- a/third_party/WebKit/Source/platform/geometry/LayoutRectOutsets.cpp
+++ b/third_party/WebKit/Source/platform/geometry/LayoutRectOutsets.cpp
@@ -75,7 +75,7 @@ LayoutUnit LayoutRectOutsets::Before(WritingMode writing_mode) const {
case WritingMode::kVerticalRl:
return right_;
}
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return top_;
}
@@ -88,7 +88,7 @@ LayoutUnit LayoutRectOutsets::After(WritingMode writing_mode) const {
case WritingMode::kVerticalRl:
return left_;
}
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return bottom_;
}
@@ -126,7 +126,7 @@ void LayoutRectOutsets::SetBefore(WritingMode writing_mode, LayoutUnit value) {
right_ = value;
break;
default:
- ASSERT_NOT_REACHED();
+ NOTREACHED();
top_ = value;
}
}
@@ -143,7 +143,7 @@ void LayoutRectOutsets::SetAfter(WritingMode writing_mode, LayoutUnit value) {
left_ = value;
break;
default:
- ASSERT_NOT_REACHED();
+ NOTREACHED();
bottom_ = value;
}
}

Powered by Google App Engine
This is Rietveld 408576698