[SVGDom] Only apply opacity when needed
authorfmalita <fmalita@chromium.org>
Mon, 19 Sep 2016 13:42:39 +0000 (06:42 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 19 Sep 2016 13:42:39 +0000 (06:42 -0700)
commit7cf4ae71220fc2307cf387205fc64dab13ecf7bf
treec658b0d4ecb4cd8770d8c57cd67c69ecd941f2ec
parent12f752723b31bb015ded118bfa466c2f1e9b2905
[SVGDom] Only apply opacity when needed

Opacity: 1 is a no-op, but it shows up quite a bit in existing documents.

R=robertphillips@google.com,stephana@google.com,reed@google.com
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2349143002

Review-Url: https://codereview.chromium.org/2349143002
experimental/svg/model/SkSVGRenderContext.cpp