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

Unified Diff: third_party/WebKit/Source/core/style/ShadowData.cpp

Issue 2751653003: Replace ASSERT and ASSERT_NOT_REACHED in core/style/ (Closed)
Patch Set: Replace ASSERT and ASSERT_NOT_REACHED in core/style/ 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/style/ShadowData.cpp
diff --git a/third_party/WebKit/Source/core/style/ShadowData.cpp b/third_party/WebKit/Source/core/style/ShadowData.cpp
index ee423f53361e67d3440fb79c286c604eedd19f41..d7b852042b7987a3691f26677f757a4952006319 100644
--- a/third_party/WebKit/Source/core/style/ShadowData.cpp
+++ b/third_party/WebKit/Source/core/style/ShadowData.cpp
@@ -34,7 +34,7 @@ bool ShadowData::operator==(const ShadowData& o) const {
ShadowData ShadowData::blend(const ShadowData& from,
double progress,
const Color& currentColor) const {
- ASSERT(style() == from.style());
+ DCHECK_EQ(style(), from.style());
return ShadowData(blink::blend(from.location(), location(), progress),
clampTo(blink::blend(from.blur(), blur(), progress), 0.0f),
blink::blend(from.spread(), spread(), progress), style(),
« no previous file with comments | « third_party/WebKit/Source/core/style/SVGComputedStyle.cpp ('k') | third_party/WebKit/Source/core/style/ShadowList.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698