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

Unified Diff: third_party/WebKit/Source/platform/geometry/FloatPolygon.h

Issue 2846303002: Replace ASSERT with DCHECK in platform/ (Closed)
Patch Set: rebase Created 3 years, 8 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/platform/geometry/FloatPolygon.h
diff --git a/third_party/WebKit/Source/platform/geometry/FloatPolygon.h b/third_party/WebKit/Source/platform/geometry/FloatPolygon.h
index 71268694123e4c5195e0245ed774d45c8d18d3ef..92898d2bf2e0dc2dd977070136153fe5c61fa212 100644
--- a/third_party/WebKit/Source/platform/geometry/FloatPolygon.h
+++ b/third_party/WebKit/Source/platform/geometry/FloatPolygon.h
@@ -111,12 +111,12 @@ class PLATFORM_EXPORT FloatPolygonEdge final : public VertexPair {
public:
const FloatPoint& Vertex1() const override {
- ASSERT(polygon_);
+ DCHECK(polygon_);
return polygon_->VertexAt(vertex_index1_);
}
const FloatPoint& Vertex2() const override {
- ASSERT(polygon_);
+ DCHECK(polygon_);
return polygon_->VertexAt(vertex_index2_);
}
« no previous file with comments | « third_party/WebKit/Source/platform/blob/BlobURL.cpp ('k') | third_party/WebKit/Source/platform/geometry/FloatPolygon.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698