diff options
Diffstat (limited to 'ppapi/cpp/private/var_private.h')
-rw-r--r-- | ppapi/cpp/private/var_private.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ppapi/cpp/private/var_private.h b/ppapi/cpp/private/var_private.h index b2f4204..860f643 100644 --- a/ppapi/cpp/private/var_private.h +++ b/ppapi/cpp/private/var_private.h @@ -86,7 +86,7 @@ class VarPrivate : public Var { public: OutException(Var* v) : output_(v), - originally_had_exception_(v && v->is_null()) { + originally_had_exception_(v && !v->is_undefined()) { if (output_) { temp_ = output_->pp_var(); } else { |