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

Unified Diff: Source/platform/transforms/IdentityTransformOperation.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/IdentityTransformOperation.h
diff --git a/Source/platform/transforms/IdentityTransformOperation.h b/Source/platform/transforms/IdentityTransformOperation.h
index 86d143206a676596b257ff134cf49dd8fe012c23..83f72ea5116a796b10f386134513264a1f4ebef4 100644
--- a/Source/platform/transforms/IdentityTransformOperation.h
+++ b/Source/platform/transforms/IdentityTransformOperation.h
@@ -36,6 +36,10 @@ public:
return adoptRef(new IdentityTransformOperation());
}
+ virtual bool isCompatibleType(const TransformOperation& other) const
Ian Vollick 2014/06/16 15:23:37 bikeshed: "compatible" doesn't convey enough infor
awoloszyn 2014/06/17 14:26:00 Agreed. Done.
+ {
+ return isSameType(other);
+ }
private:
virtual bool isIdentity() const OVERRIDE FINAL { return true; }
virtual OperationType type() const OVERRIDE { return Identity; }

Powered by Google App Engine
This is Rietveld 408576698