Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(213)

Unified Diff: ppapi/cpp/private/var_private.h

Issue 7511026: Fix some egregious bugs in Var. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ppapi/cpp/var.h » ('j') | ppapi/cpp/var.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/cpp/private/var_private.h
===================================================================
--- ppapi/cpp/private/var_private.h (revision 95308)
+++ ppapi/cpp/private/var_private.h (working copy)
@@ -86,7 +86,7 @@
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 {
« no previous file with comments | « no previous file | ppapi/cpp/var.h » ('j') | ppapi/cpp/var.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698