| Index: ppapi/cpp/var.cc
|
| diff --git a/ppapi/cpp/var.cc b/ppapi/cpp/var.cc
|
| index 7fc67f5b273e754e4b296a030e781c3bb56345e8..034859e3fd2d7d04933a1c445a3ea4182b71b35c 100644
|
| --- a/ppapi/cpp/var.cc
|
| +++ b/ppapi/cpp/var.cc
|
| @@ -229,10 +229,16 @@ std::string Var::DebugString() const {
|
| str.append("...");
|
| }
|
| snprintf(buf, sizeof(buf), format, str.c_str());
|
| - } else if (is_array_buffer()) {
|
| - snprintf(buf, sizeof(buf), "Var(ARRAY_BUFFER)");
|
| } else if (is_object()) {
|
| snprintf(buf, sizeof(buf), "Var(OBJECT)");
|
| + } else if (is_array()) {
|
| + snprintf(buf, sizeof(buf), "Var(ARRAY)");
|
| + } else if (is_dictionary()) {
|
| + snprintf(buf, sizeof(buf), "Var(DICTIONARY)");
|
| + } else if (is_array_buffer()) {
|
| + snprintf(buf, sizeof(buf), "Var(ARRAY_BUFFER)");
|
| + } else {
|
| + buf[0] = '\0';
|
| }
|
| return buf;
|
| }
|
|
|