aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/gpu/GrProgramElementRef.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/gpu/GrProgramElementRef.h')
-rw-r--r--include/gpu/GrProgramElementRef.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/gpu/GrProgramElementRef.h b/include/gpu/GrProgramElementRef.h
index ea11f4446c..1e3b4f8ebe 100644
--- a/include/gpu/GrProgramElementRef.h
+++ b/include/gpu/GrProgramElementRef.h
@@ -55,7 +55,7 @@ public:
}
~GrProgramElementRef() {
- if (NULL != fObj) {
+ if (fObj) {
if (fOwnPendingExec) {
fObj->completedExecution();
} else {