Index: cc/output/render_surface_filters.cc |
diff --git a/cc/output/render_surface_filters.cc b/cc/output/render_surface_filters.cc |
index fa84e67f4d3913dd66ef067eb55d72e031c6cd20..6df8d3793f7d723c191d612297a8efc7eead570f 100644 |
--- a/cc/output/render_surface_filters.cc |
+++ b/cc/output/render_surface_filters.cc |
@@ -226,9 +226,13 @@ bool GetColorMatrix(const FilterOperation& op, SkScalar matrix[20]) { |
memcpy(matrix, op.matrix(), sizeof(SkScalar[20])); |
return true; |
} |
- default: |
- return false; |
+ case FilterOperation::BLUR: |
+ case FilterOperation::DROP_SHADOW: |
+ case FilterOperation::ZOOM: { |
+ break; |
danakj
2013/08/26 15:55:39
and return false here with NOTREACHED below? also
reveman
2013/08/26 17:16:57
Done.
|
+ } |
} |
+ return false; |
} |
class FilterBufferState { |