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

Unified Diff: third_party/WebKit/Source/platform/scroll/ScrollableArea.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/scroll/ScrollableArea.cpp
diff --git a/third_party/WebKit/Source/platform/scroll/ScrollableArea.cpp b/third_party/WebKit/Source/platform/scroll/ScrollableArea.cpp
index f78f12712eb1b788abe42e6915bd575da61408a6..62247f266a77063a6d0d8ba282d422e4fc79d972 100644
--- a/third_party/WebKit/Source/platform/scroll/ScrollableArea.cpp
+++ b/third_party/WebKit/Source/platform/scroll/ScrollableArea.cpp
@@ -131,7 +131,7 @@ float ScrollableArea::ScrollStep(ScrollGranularity granularity,
case kScrollByPrecisePixel:
return PixelStep(orientation);
default:
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return 0.0f;
}
}
@@ -193,7 +193,7 @@ void ScrollableArea::SetScrollOffset(const ScrollOffset& offset,
UserScrollHelper(clamped_offset, behavior);
break;
default:
- ASSERT_NOT_REACHED();
+ NOTREACHED();
}
}
@@ -258,7 +258,7 @@ LayoutRect ScrollableArea::ScrollIntoView(const LayoutRect& rect_in_content,
ScrollType) {
// TODO(bokan): This should really be implemented here but ScrollAlignment is
// in Core which is a dependency violation.
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return LayoutRect();
}
« no previous file with comments | « third_party/WebKit/Source/platform/scroll/ScrollTypes.h ('k') | third_party/WebKit/Source/platform/scroll/Scrollbar.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698