Fix GraphiteStartGM initialization.

GMs are constructed at DM startup whether they are invoked or not.
We only want to load the GIF from disk if the GM is actually
invoked. Previously, a GIF would be loaded every time DM or Viewer
was launched.

Change-Id: Ic95d6c39de2d800034d13d48f75e64dc09331591
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/835178
Auto-Submit: John Stiles <johnstiles@google.com>
Commit-Queue: John Stiles <johnstiles@google.com>
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
1 file changed