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

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

Issue 1666613002: Remove APPLE_ARMV7S-specific code from Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 | « no previous file | third_party/WebKit/Source/platform/transforms/TransformationMatrix.cpp » ('j') | 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 402c1005101e7b01827cfbbb5483c0565041490f..f11d193a62e897132eb6269c26ef3f06a19cad78 100644
--- a/third_party/WebKit/Source/platform/transforms/TransformationMatrix.h
+++ b/third_party/WebKit/Source/platform/transforms/TransformationMatrix.h
@@ -54,7 +54,7 @@ class PLATFORM_EXPORT TransformationMatrix {
USING_FAST_MALLOC(TransformationMatrix);
public:
-#if CPU(APPLE_ARMV7S) || defined(TRANSFORMATION_MATRIX_USE_X86_64_SSE2)
+#if defined(TRANSFORMATION_MATRIX_USE_X86_64_SSE2)
typedef WTF_ALIGNED(double, Matrix4[4][4], 16);
#else
typedef double Matrix4[4][4];
@@ -388,7 +388,7 @@ private:
void checkAlignment()
{
-#if CPU(APPLE_ARMV7S) || defined(TRANSFORMATION_MATRIX_USE_X86_64_SSE2)
+#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.
ASSERT((reinterpret_cast<uintptr_t>(this) & (WTF_ALIGN_OF(TransformationMatrix) - 1)) == 0);
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/transforms/TransformationMatrix.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698