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

Unified Diff: third_party/WebKit/Source/core/style/ClipPathOperation.h

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/ClipPathOperation.h
diff --git a/third_party/WebKit/Source/core/style/ClipPathOperation.h b/third_party/WebKit/Source/core/style/ClipPathOperation.h
index 07f386f230981e886a445a43fbac63c19257a8b1..9873857f394152266fcf22894f0296695694de68 100644
--- a/third_party/WebKit/Source/core/style/ClipPathOperation.h
+++ b/third_party/WebKit/Source/core/style/ClipPathOperation.h
@@ -104,7 +104,7 @@ class ShapeClipPathOperation final : public ClipPathOperation {
const BasicShape* basicShape() const { return m_shape.get(); }
bool isValid() const { return m_shape.get(); }
const Path& path(const FloatRect& boundingRect) {
- ASSERT(m_shape);
+ DCHECK(m_shape);
m_path.reset();
m_path = WTF::wrapUnique(new Path);
m_shape->path(*m_path, boundingRect);
« no previous file with comments | « third_party/WebKit/Source/core/style/BorderImageLength.h ('k') | third_party/WebKit/Source/core/style/ComputedStyle.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698