Fix assert accessing pipeline from initBatchTracker
authorcdalton <cdalton@nvidia.com>
Wed, 3 Feb 2016 21:29:19 +0000 (13:29 -0800)
committerCommit bot <commit-bot@chromium.org>
Wed, 3 Feb 2016 21:29:19 +0000 (13:29 -0800)
commite62cbdffcf27278272e87de65a07dddc24605ad7
treef0b520683335456f380c809b3c025a19fd20177d
parentebf440816bbb6fccbfb5ab81145c38d32f056b15
Fix assert accessing pipeline from initBatchTracker

Marks fPipelineInstalled as true before calling initBatchTracker. The
batch subclass ought to be able to access the newly constructed
pipeline object during its init.

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1666813002

Review URL: https://codereview.chromium.org/1666813002
src/gpu/batches/GrDrawBatch.cpp