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

Unified Diff: third_party/WebKit/Source/core/animation/LengthListPropertyFunctions.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/LengthListPropertyFunctions.cpp
diff --git a/third_party/WebKit/Source/core/animation/LengthListPropertyFunctions.cpp b/third_party/WebKit/Source/core/animation/LengthListPropertyFunctions.cpp
index da90bbeecc41a5fa2943093b611eb04017ccfaad..94982bed5ba67446121a99554b814b7b7c44a4d1 100644
--- a/third_party/WebKit/Source/core/animation/LengthListPropertyFunctions.cpp
+++ b/third_party/WebKit/Source/core/animation/LengthListPropertyFunctions.cpp
@@ -22,7 +22,7 @@ const FillLayer* getFillLayer(CSSPropertyID property, const ComputedStyle& style
case CSSPropertyWebkitMaskSize:
return &style.maskLayers();
default:
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return nullptr;
}
}
@@ -39,7 +39,7 @@ FillLayer* accessFillLayer(CSSPropertyID property, ComputedStyle& style)
case CSSPropertyWebkitMaskSize:
return &style.accessMaskLayers();
default:
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return nullptr;
}
}
@@ -76,7 +76,7 @@ struct FillLayerMethods {
clear = &FillLayer::clearSize;
break;
default:
- ASSERT_NOT_REACHED();
+ NOTREACHED();
break;
}
}
@@ -113,7 +113,7 @@ ValueRange LengthListPropertyFunctions::getValueRange(CSSPropertyID property)
return ValueRangeNonNegative;
default:
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return ValueRangeAll;
}
}
@@ -201,7 +201,7 @@ bool LengthListPropertyFunctions::getLengthList(CSSPropertyID property, const Co
}
default:
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return false;
}
}
@@ -298,7 +298,7 @@ void LengthListPropertyFunctions::setLengthList(CSSPropertyID property, Computed
}
default:
- ASSERT_NOT_REACHED();
+ NOTREACHED();
break;
}
}

Powered by Google App Engine
This is Rietveld 408576698