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

Unified Diff: third_party/WebKit/Source/platform/transforms/TransformationMatrix.h

Issue 2879773002: Replace remaining ASSERT with DCHECK|DCHECK_FOO in modules (Closed)
Patch Set: Replace remaining ASSERT with DCHECK|DCHECK_FOO in modules Created 3 years, 7 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/modules/webusb/USBInterface.cpp ('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/platform/transforms/TransformationMatrix.h
diff --git a/third_party/WebKit/Source/platform/transforms/TransformationMatrix.h b/third_party/WebKit/Source/platform/transforms/TransformationMatrix.h
index a3d40edf5f3cbbb54c41082c10aa1e4d2a902a0e..6e8e2b94009c7d002f5ab75516eb23b0df86f11b 100644
--- a/third_party/WebKit/Source/platform/transforms/TransformationMatrix.h
+++ b/third_party/WebKit/Source/platform/transforms/TransformationMatrix.h
@@ -504,8 +504,9 @@ class PLATFORM_EXPORT TransformationMatrix {
#if defined(TRANSFORMATION_MATRIX_USE_X86_64_SSE2)
// m_matrix can cause this class to require higher than usual alignment.
// Make sure the allocator handles this.
- DCHECK((reinterpret_cast<uintptr_t>(this) &
- (WTF_ALIGN_OF(TransformationMatrix) - 1)) == 0);
+ DCHECK_EQ((reinterpret_cast<uintptr_t>(this) &
+ (WTF_ALIGN_OF(TransformationMatrix) - 1)),
+ 0UL);
#endif
}
« no previous file with comments | « third_party/WebKit/Source/modules/webusb/USBInterface.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698