Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index bd62d102d1599e19b0fd8a6361a1f6ba3f4ce1b9..705cae55b00b4afb3bec52ed087f8b2f493f9e32 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -5330,7 +5330,7 @@ MUST_USE_RESULT |
inline i::MaybeHandle<i::String> NewString(i::Factory* factory, |
String::NewStringType type, |
i::Vector<const char> string) { |
- if (type ==String::kInternalizedString) { |
+ if (type == String::kInternalizedString) { |
return factory->InternalizeUtf8String(string); |
} |
return factory->NewStringFromUtf8(string); |