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

Unified Diff: third_party/WebKit/Source/platform/exported/WebScrollbarThemeClientImpl.cpp

Issue 2811463002: Replace ASSERT, ASSERT_NOT_REACHED, and RELEASE_ASSERT in platform/exported (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/exported/WebScrollbarThemeClientImpl.cpp
diff --git a/third_party/WebKit/Source/platform/exported/WebScrollbarThemeClientImpl.cpp b/third_party/WebKit/Source/platform/exported/WebScrollbarThemeClientImpl.cpp
index 235addec6041080865c57d91ce53b0ac7d5491bd..226c041e69cdabea8c52a03cf1fef2800b331dd0 100644
--- a/third_party/WebKit/Source/platform/exported/WebScrollbarThemeClientImpl.cpp
+++ b/third_party/WebKit/Source/platform/exported/WebScrollbarThemeClientImpl.cpp
@@ -65,19 +65,19 @@ IntPoint WebScrollbarThemeClientImpl::Location() const {
FrameViewBase* WebScrollbarThemeClientImpl::Parent() const {
// Unused by Chromium scrollbar themes.
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return 0;
}
FrameViewBase* WebScrollbarThemeClientImpl::Root() const {
// Unused by Chromium scrollbar themes.
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return 0;
}
void WebScrollbarThemeClientImpl::SetFrameRect(const IntRect&) {
// Unused by Chromium scrollbar themes.
- ASSERT_NOT_REACHED();
+ NOTREACHED();
}
IntRect WebScrollbarThemeClientImpl::FrameRect() const {
@@ -86,12 +86,12 @@ IntRect WebScrollbarThemeClientImpl::FrameRect() const {
void WebScrollbarThemeClientImpl::Invalidate() {
// Unused by Chromium scrollbar themes.
- ASSERT_NOT_REACHED();
+ NOTREACHED();
}
void WebScrollbarThemeClientImpl::InvalidateRect(const IntRect&) {
// Unused by Chromium scrollbar themes.
- ASSERT_NOT_REACHED();
+ NOTREACHED();
}
ScrollbarOverlayColorTheme
@@ -116,7 +116,7 @@ bool WebScrollbarThemeClientImpl::IsScrollableAreaActive() const {
IntPoint WebScrollbarThemeClientImpl::ConvertFromRootFrame(
const IntPoint& point_in_root_frame) const {
// Unused by Chromium scrollbar themes.
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return point_in_root_frame;
}
@@ -165,11 +165,11 @@ ScrollbarPart WebScrollbarThemeClientImpl::HoveredPart() const {
}
void WebScrollbarThemeClientImpl::StyleChanged() {
- ASSERT_NOT_REACHED();
+ NOTREACHED();
}
void WebScrollbarThemeClientImpl::SetScrollbarsHidden(bool hidden) {
- ASSERT_NOT_REACHED();
+ NOTREACHED();
}
bool WebScrollbarThemeClientImpl::Enabled() const {
@@ -177,7 +177,7 @@ bool WebScrollbarThemeClientImpl::Enabled() const {
}
void WebScrollbarThemeClientImpl::SetEnabled(bool) {
- ASSERT_NOT_REACHED();
+ NOTREACHED();
}
bool WebScrollbarThemeClientImpl::IsOverlayScrollbar() const {

Powered by Google App Engine
This is Rietveld 408576698