Commit 5659619a by Jamie Madill

Fix uninitialized ConfigSorter read.

We were not initializaing the mWant* members to false. BUG=468638 Change-Id: I90ef131c930c6f9c31e9bc9cec951c1f91816eb0 Reviewed-on: https://chromium-review.googlesource.com/261047Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org> Tested-by: 's avatarJamie Madill <jmadill@chromium.org>
parent a17e77fe
......@@ -108,6 +108,11 @@ class ConfigSorter
{
public:
explicit ConfigSorter(const AttributeMap &attributeMap)
: mWantRed(false),
mWantGreen(false),
mWantBlue(false),
mWantAlpha(false),
mWantLuminance(false)
{
scanForWantedComponents(attributeMap);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment