aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sksl/ir/SkSLFloatLiteral.h
diff options
context:
space:
mode:
authorGravatar ethannicholas <ethannicholas@google.com>2016-07-12 09:07:21 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-07-12 09:07:21 -0700
commit9fd67a1f53809f5eff1210dd107241b450c48acc (patch)
treeda60b78933d92f796cf1f5dc3ff3dffa6febf78f /src/sksl/ir/SkSLFloatLiteral.h
parent5dba301e916448bbb17bfe8e70dc367f32eb7159 (diff)
SkSL performance improvements (plus a couple of minor warning fixes)
Diffstat (limited to 'src/sksl/ir/SkSLFloatLiteral.h')
-rw-r--r--src/sksl/ir/SkSLFloatLiteral.h2
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 {