Convert CanvasStateTest to the new saveLayer API
authorfmalita <fmalita@chromium.org>
Wed, 20 Jan 2016 19:17:39 +0000 (11:17 -0800)
committerCommit bot <commit-bot@chromium.org>
Wed, 20 Jan 2016 19:17:40 +0000 (11:17 -0800)
commit55b29b255187a65c056029f26442b9e9c9d6b2cd
treefbc8039d13bbf00471d7147d36eb795c26302bf9
parent2252edabc16ee349f5e7be2c0b60ece695ca6ec4
Convert CanvasStateTest to the new saveLayer API

The test needs to still work when SK_SUPPORT_LEGACY_CLIPTOLAYERFLAG is
defined but SK_SUPPORT_LEGACY_SAVEFLAGS is not.

R=reed@google.com,robertphillips@google.com
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1610193002

Review URL: https://codereview.chromium.org/1610193002
tests/CanvasStateTest.cpp