Rearrange templates to get ios to compile

Change-Id: I95f44adc5cc61fdb9b78b60327e0e5ccdeceaf4a
Reviewed-on: https://skia-review.googlesource.com/149290
Reviewed-by: Florin Malita <fmalita@chromium.org>
Commit-Queue: Herb Derby <herb@google.com>
4 files changed