minor SkSL changes to avoid compiler errors in Chromium
authorethannicholas <ethannicholas@google.com>
Thu, 1 Sep 2016 14:59:02 +0000 (07:59 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 1 Sep 2016 14:59:02 +0000 (07:59 -0700)
commit0730be7c303ac415484b15ef44ff1dce077a93b8
tree0e4c5ea09e3d90151add8473877ee5214c3f96cc
parent787e5a396f41c7e8d639f0fc5e70846cef6ac3ec
minor SkSL changes to avoid compiler errors in Chromium

* fixed a couple of spots where using { } instead of an explicit constructor call resulted in errors
* Type::Field had a deleted copy constructor and therefore was not working inside std::vector; had to remove const from fields and change fType from a reference to a pointer

GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2300023002

Review-Url: https://codereview.chromium.org/2300023002
src/sksl/SkSLGLSLCodeGenerator.cpp
src/sksl/SkSLIRGenerator.cpp
src/sksl/SkSLParser.cpp
src/sksl/SkSLSPIRVCodeGenerator.cpp
src/sksl/ir/SkSLFieldAccess.h
src/sksl/ir/SkSLSymbolTable.cpp
src/sksl/ir/SkSLType.h