Index: src/wasm/wasm-result.h |
diff --git a/src/wasm/wasm-result.h b/src/wasm/wasm-result.h |
index efe269a86828ee6b2b498c7ef8e2ed2b582f970a..5058f60d880910c54735647841b655352516959d 100644 |
--- a/src/wasm/wasm-result.h |
+++ b/src/wasm/wasm-result.h |
@@ -97,7 +97,7 @@ std::ostream& operator<<(std::ostream& os, const Result<T>& result) { |
std::ostream& operator<<(std::ostream& os, const ErrorCode& error_code); |
// A helper for generating error messages that bubble up to JS exceptions. |
-class ErrorThrower { |
+class V8_EXPORT_PRIVATE ErrorThrower { |
public: |
ErrorThrower(i::Isolate* isolate, const char* context) |
: isolate_(isolate), context_(context) {} |