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

Unified Diff: third_party/WebKit/Source/core/animation/css/CSSAnimatableValueFactory.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
« no previous file with comments | « third_party/WebKit/Source/core/animation/animatable/AnimatableNeutral.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/animation/css/CSSAnimatableValueFactory.cpp
diff --git a/third_party/WebKit/Source/core/animation/css/CSSAnimatableValueFactory.cpp b/third_party/WebKit/Source/core/animation/css/CSSAnimatableValueFactory.cpp
index 116c55ee466bd487142015432068ca543d1e82f5..232305c026b7313f02e82bf775ab528247071c23 100644
--- a/third_party/WebKit/Source/core/animation/css/CSSAnimatableValueFactory.cpp
+++ b/third_party/WebKit/Source/core/animation/css/CSSAnimatableValueFactory.cpp
@@ -81,10 +81,10 @@ static PassRefPtr<AnimatableValue> createFromLengthWithZoom(const Length& length
case ExtendToZoom: // Does not apply to elements.
case DeviceWidth:
case DeviceHeight:
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return nullptr;
}
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return nullptr;
}
@@ -193,7 +193,7 @@ inline static PassRefPtr<AnimatableValue> createFromFillSize(const FillSize& fil
case SizeNone:
return AnimatableUnknown::create(CSSPrimitiveValue::create(fillSize.type));
default:
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return nullptr;
}
}
@@ -227,7 +227,7 @@ inline static PassRefPtr<AnimatableValue> createFromFillLayers(const FillLayer&
break;
values.append(createFromFillSize(fillLayer->size(), style));
} else {
- ASSERT_NOT_REACHED();
+ NOTREACHED();
}
}
return AnimatableRepeatable::create(values);
@@ -292,7 +292,7 @@ static double fontWeightToDouble(FontWeight fontWeight)
return 900;
}
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return 400;
}
@@ -599,7 +599,7 @@ PassRefPtr<AnimatableValue> CSSAnimatableValueFactory::create(CSSPropertyID prop
return AnimatableUnknown::create(CSSValueAuto);
return createFromDouble(style.zIndex());
default:
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return nullptr;
}
}
« no previous file with comments | « third_party/WebKit/Source/core/animation/animatable/AnimatableNeutral.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698