Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index e1e3e48f9b5c1e847a6b650ea1ecdd88118cef8d..b02a2f152d7e1708156b220f283acae816d6caff 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -292,9 +292,9 @@ bool Object::FilterKey(PropertyFilter filter) { |
if (IsSymbol()) { |
if (filter & SKIP_SYMBOLS) return true; |
if (Symbol::cast(this)->is_private()) return true; |
+ } else { |
+ if (filter & SKIP_STRINGS) return true; |
} |
- if ((filter & SKIP_STRINGS) && !IsSymbol()) return true; |
- |
return false; |
} |