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

Unified Diff: third_party/WebKit/Source/core/css/resolver/CSSToStyleMap.cpp

Issue 2755493004: Replace ASSERT, ASSERT_NOT_REACHED, and RELEASE_ASSERT in core/css/ (Closed)
Patch Set: All windows error are Resolved now. 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/css/resolver/CSSToStyleMap.cpp
diff --git a/third_party/WebKit/Source/core/css/resolver/CSSToStyleMap.cpp b/third_party/WebKit/Source/core/css/resolver/CSSToStyleMap.cpp
index d6fb1f6a3b19e74fa60a938368299c0dcb0d9a46..1b2ed6a40ae2934664b4d443cac2411631ce0447 100644
--- a/third_party/WebKit/Source/core/css/resolver/CSSToStyleMap.cpp
+++ b/third_party/WebKit/Source/core/css/resolver/CSSToStyleMap.cpp
@@ -305,7 +305,7 @@ void CSSToStyleMap::mapFillMaskSourceType(StyleResolverState&,
case CSSValueAuto:
break;
default:
- ASSERT_NOT_REACHED();
+ NOTREACHED();
}
layer->setMaskSourceType(type);
@@ -332,7 +332,7 @@ Timing::PlaybackDirection CSSToStyleMap::mapAnimationDirection(
case CSSValueAlternateReverse:
return Timing::PlaybackDirection::ALTERNATE_REVERSE;
default:
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return CSSAnimationData::initialDirection();
}
}
@@ -357,7 +357,7 @@ Timing::FillMode CSSToStyleMap::mapAnimationFillMode(const CSSValue& value) {
case CSSValueBoth:
return Timing::FillMode::BOTH;
default:
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return CSSAnimationData::initialFillMode();
}
}
@@ -442,7 +442,7 @@ PassRefPtr<TimingFunction> CSSToStyleMap::mapAnimationTimingFunction(
return StepsTimingFunction::preset(
StepsTimingFunction::StepPosition::END);
default:
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return CSSTimingData::initialTimingFunction();
}
}

Powered by Google App Engine
This is Rietveld 408576698