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

Unified Diff: third_party/WebKit/Source/platform/geometry/TransformState.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/TransformState.h
diff --git a/third_party/WebKit/Source/platform/geometry/TransformState.h b/third_party/WebKit/Source/platform/geometry/TransformState.h
index c1f26892973542dadb968440071275fc3fffb515..d50896c1484e585f6620328365d89f3681640bc5 100644
--- a/third_party/WebKit/Source/platform/geometry/TransformState.h
+++ b/third_party/WebKit/Source/platform/geometry/TransformState.h
@@ -95,7 +95,7 @@ class PLATFORM_EXPORT TransformState {
// FIXME: this assumes that the quad being added is in the coordinate system
// of the current state. This breaks if we're simultaneously mapping a
// point. https://bugs.webkit.org/show_bug.cgi?id=106680
- ASSERT(!map_point_);
+ DCHECK(!map_point_);
accumulated_offset_ = LayoutSize();
last_planar_quad_ = quad;
}

Powered by Google App Engine
This is Rietveld 408576698