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

Unified Diff: ppapi/cpp/var.cc

Issue 10855056: add missing case to switch (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/cpp/var.cc
diff --git a/ppapi/cpp/var.cc b/ppapi/cpp/var.cc
index 881ce3288e02e93b0997b8b9d30c631f9417c16a..3e76593bd2763ff5fec11c110bef977ea0a8dc1a 100644
--- a/ppapi/cpp/var.cc
+++ b/ppapi/cpp/var.cc
@@ -165,6 +165,7 @@ bool Var::operator==(const Var& other) const {
return AsString() == other.AsString();
case PP_VARTYPE_OBJECT:
case PP_VARTYPE_ARRAY:
+ case PP_VARTYPE_ARRAY_BUFFER:
case PP_VARTYPE_DICTIONARY:
default: // Objects, arrays, dictionaries.
return var_.value.as_id == other.var_.value.as_id;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698