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

Unified Diff: Source/platform/transforms/SkewTransformOperation.cpp

Issue 328333003: Adding Blink-side 3d Box and Bounds calculations to TransformOperations (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 6 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: Source/platform/transforms/SkewTransformOperation.cpp
diff --git a/Source/platform/transforms/SkewTransformOperation.cpp b/Source/platform/transforms/SkewTransformOperation.cpp
index 29368d0dd5645ee469070fd2986b9dd2bd7728ef..dae5c089125a23b51f41af936b43f312065dc337 100644
--- a/Source/platform/transforms/SkewTransformOperation.cpp
+++ b/Source/platform/transforms/SkewTransformOperation.cpp
@@ -40,4 +40,9 @@ PassRefPtr<TransformOperation> SkewTransformOperation::blend(const TransformOper
return SkewTransformOperation::create(WebCore::blend(fromAngleX, m_angleX, progress), WebCore::blend(fromAngleY, m_angleY, progress), m_type);
}
+bool SkewTransformOperation::canBlendWith(const TransformOperation& other) const
+{
+ return(isSameType(other));
Ian Vollick 2014/06/18 15:38:06 no braces around return type, pls.
awoloszyn 2014/06/18 18:31:08 Done.
+}
+
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698