mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
There's no reason to do this, if an element matched an attribute rule then it'll have a unique style and RenderStyle::isSharable() will return false so we wouldn't even get here. If we could have matched an attribute rule, but didn't actually match one then we can continue to share with other elements that aren't affected by attribute rules since even though our attributes could affect styling the rules didn't match us. R=ojan@chromium.org Review URL: https://codereview.chromium.org/843233002