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

Unified Diff: third_party/WebKit/Source/core/animation/ColorPropertyFunctions.cpp

Issue 2109333002: Replace ASSERT_NOT_REACHED with NOTREACHED (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
Index: third_party/WebKit/Source/core/animation/ColorPropertyFunctions.cpp
diff --git a/third_party/WebKit/Source/core/animation/ColorPropertyFunctions.cpp b/third_party/WebKit/Source/core/animation/ColorPropertyFunctions.cpp
index f297f6feb0e569aa1b9f604dc9dc732267d90eae..ebc75c23007693c3454d38e67cb0e373660dfcf8 100644
--- a/third_party/WebKit/Source/core/animation/ColorPropertyFunctions.cpp
+++ b/third_party/WebKit/Source/core/animation/ColorPropertyFunctions.cpp
@@ -49,7 +49,7 @@ StyleColor ColorPropertyFunctions::getUnvisitedColor(CSSPropertyID property, con
case CSSPropertyTextDecorationColor:
return style.textDecorationColor();
default:
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return StyleColor::currentColor();
}
}
@@ -90,7 +90,7 @@ StyleColor ColorPropertyFunctions::getVisitedColor(CSSPropertyID property, const
case CSSPropertyTextDecorationColor:
return style.visitedLinkTextDecorationColor();
default:
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return StyleColor::currentColor();
}
}
@@ -138,7 +138,7 @@ void ColorPropertyFunctions::setUnvisitedColor(CSSPropertyID property, ComputedS
style.setTextStrokeColor(color);
return;
default:
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return;
}
}
@@ -186,7 +186,7 @@ void ColorPropertyFunctions::setVisitedColor(CSSPropertyID property, ComputedSty
style.setVisitedLinkTextStrokeColor(color);
return;
default:
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return;
}
}

Powered by Google App Engine
This is Rietveld 408576698