aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sksl/ir/SkSLIntLiteral.h
diff options
context:
space:
mode:
authorGravatar fmalita <fmalita@google.com>2016-09-30 08:05:24 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-09-30 08:05:24 -0700
commitd214d6ae69c1dd9ef49fdce8fac699d00bffcdcd (patch)
tree96deebd7874fe2960416042011a999455d4f82e2 /src/sksl/ir/SkSLIntLiteral.h
parentbc34404dc3feb4dac854aa43825646dd01139ccb (diff)
Revert of Turned on SkSL->GLSL compiler (patchset #41 id:880001 of https://codereview.chromium.org/2288033003/ )
Diffstat (limited to 'src/sksl/ir/SkSLIntLiteral.h')
-rw-r--r--src/sksl/ir/SkSLIntLiteral.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sksl/ir/SkSLIntLiteral.h b/src/sksl/ir/SkSLIntLiteral.h
index 8921c283b5..2bc565712e 100644
--- a/src/sksl/ir/SkSLIntLiteral.h
+++ b/src/sksl/ir/SkSLIntLiteral.h
@@ -18,8 +18,8 @@ namespace SkSL {
struct IntLiteral : public Expression {
// FIXME: we will need to revisit this if/when we add full support for both signed and unsigned
// 64-bit integers, but for right now an int64_t will hold every value we care about
- IntLiteral(const Context& context, Position position, int64_t value, const Type* type = nullptr)
- : INHERITED(position, kIntLiteral_Kind, type ? *type : *context.fInt_Type)
+ IntLiteral(const Context& context, Position position, int64_t value)
+ : INHERITED(position, kIntLiteral_Kind, *context.fInt_Type)
, fValue(value) {}
virtual std::string description() const override {