Index: Source/platform/graphics/filters/FEColorMatrix.h |
diff --git a/Source/platform/graphics/filters/FEColorMatrix.h b/Source/platform/graphics/filters/FEColorMatrix.h |
index 2ae8be952b30f45579791ed43d2dd2b711c9f34c..469621cf70bbc18c42ad8edb29a42cbc28021b4b 100644 |
--- a/Source/platform/graphics/filters/FEColorMatrix.h |
+++ b/Source/platform/graphics/filters/FEColorMatrix.h |
@@ -59,6 +59,9 @@ private: |
virtual bool affectsTransparentPixels() override; |
ColorMatrixType m_type; |
+ |
+ // The m_values vector may not contain the right number of values. Always check |
+ // before accessing contents. |
Vector<float> m_values; |
}; |