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

Unified Diff: Source/platform/transforms/InterpolatedTransformOperation.h

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/InterpolatedTransformOperation.h
diff --git a/Source/platform/transforms/InterpolatedTransformOperation.h b/Source/platform/transforms/InterpolatedTransformOperation.h
index 108d172f071aecad7f27936d57c7bd9be5237865..88243ec9fb7dcf5310dec87f13d192612dc5d195 100644
--- a/Source/platform/transforms/InterpolatedTransformOperation.h
+++ b/Source/platform/transforms/InterpolatedTransformOperation.h
@@ -44,6 +44,10 @@ public:
return adoptRef(new InterpolatedTransformOperation(from, to, progress));
}
+ virtual bool isCompatibleType(const TransformOperation& other) const
+ {
+ return isSameType(other);
+ }
private:
virtual bool isIdentity() const OVERRIDE { return false; }

Powered by Google App Engine
This is Rietveld 408576698