| Index: src/gpu/gl/GrGLSL.h
|
| diff --git a/src/gpu/gl/GrGLSL.h b/src/gpu/gl/GrGLSL.h
|
| index 99671c130e0c5e3a431cc5b74a0ba27f2be7594c..b031a40a61c8508c863f55d3fdb041add7f19745 100644
|
| --- a/src/gpu/gl/GrGLSL.h
|
| +++ b/src/gpu/gl/GrGLSL.h
|
| @@ -106,10 +106,6 @@
|
| return fExpr.c_str();
|
| }
|
|
|
| - bool isValid() const {
|
| - return kFullExpr_ExprType != fType || !fExpr.isEmpty();
|
| - }
|
| -
|
| protected:
|
| /** Constructs an invalid expression.
|
| * Useful only as a return value from functions that never actually return
|
| @@ -170,6 +166,10 @@
|
| fExpr.appendf(format, in0, in1);
|
| }
|
|
|
| + bool isValid() const {
|
| + return kFullExpr_ExprType != fType || !fExpr.isEmpty();
|
| + }
|
| +
|
| /** Returns expression casted to another type.
|
| * Generic implementation that is called for non-trivial cases of casts. */
|
| template <typename T>
|
|
|