diff options
author | ethannicholas <ethannicholas@google.com> | 2016-07-12 09:07:21 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-07-12 09:07:21 -0700 |
commit | 9fd67a1f53809f5eff1210dd107241b450c48acc (patch) | |
tree | da60b78933d92f796cf1f5dc3ff3dffa6febf78f /src/sksl/ir/SkSLFloatLiteral.h | |
parent | 5dba301e916448bbb17bfe8e70dc367f32eb7159 (diff) |
SkSL performance improvements (plus a couple of minor warning fixes)
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2131223002
Review-Url: https://codereview.chromium.org/2131223002
Diffstat (limited to 'src/sksl/ir/SkSLFloatLiteral.h')
-rw-r--r-- | src/sksl/ir/SkSLFloatLiteral.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sksl/ir/SkSLFloatLiteral.h b/src/sksl/ir/SkSLFloatLiteral.h index deb5b27144..8f5ec43299 100644 --- a/src/sksl/ir/SkSLFloatLiteral.h +++ b/src/sksl/ir/SkSLFloatLiteral.h @@ -17,7 +17,7 @@ namespace SkSL { */ struct FloatLiteral : public Expression { FloatLiteral(Position position, double value) - : INHERITED(position, kFloatLiteral_Kind, kFloat_Type) + : INHERITED(position, kFloatLiteral_Kind, *kFloat_Type) , fValue(value) {} virtual std::string description() const override { |