diff options
Diffstat (limited to 'ppapi/cpp/var.cc')
-rw-r--r-- | ppapi/cpp/var.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ppapi/cpp/var.cc b/ppapi/cpp/var.cc index 683a344..d8128ed 100644 --- a/ppapi/cpp/var.cc +++ b/ppapi/cpp/var.cc @@ -158,6 +158,9 @@ bool Var::operator==(const Var& other) const { if (var_.value.as_id == other.var_.value.as_id) return true; return AsString() == other.AsString(); + case PP_VARTYPE_OBJECT: + case PP_VARTYPE_ARRAY: + case PP_VARTYPE_DICTIONARY: default: // Objects, arrays, dictionaries. return var_.value.as_id == other.var_.value.as_id; } |