Index: cc/animation/transform_operation.cc |
diff --git a/cc/animation/transform_operation.cc b/cc/animation/transform_operation.cc |
index b7bb0631c821fc458f2bfe9c55a70eb5979712ae..ea3b0b2fc3a56e21c29919464cc95ae98122f944 100644 |
--- a/cc/animation/transform_operation.cc |
+++ b/cc/animation/transform_operation.cc |
@@ -6,6 +6,7 @@ |
#include <cmath> |
#include <limits> |
+#include "base/logging.h" |
#include "cc/animation/transform_operation.h" |
#include "ui/gfx/box_f.h" |
#include "ui/gfx/vector3d_f.h" |
@@ -293,9 +294,14 @@ bool TransformOperation::BlendedBoundsForBox(const gfx::BoxF& box, |
case TransformOperation::TransformOperationIdentity: |
*bounds = box; |
return true; |
- default: |
+ case TransformOperation::TransformOperationRotate: |
+ case TransformOperation::TransformOperationSkew: |
+ case TransformOperation::TransformOperationPerspective: |
+ case TransformOperation::TransformOperationMatrix: |
return false; |
} |
+ NOTREACHED(); |
+ return false; |
} |
} // namespace cc |