| Index: Source/wtf/BUILD.gn
|
| diff --git a/Source/wtf/BUILD.gn b/Source/wtf/BUILD.gn
|
| index 43e5c586ccd046a6ecf82d7bdeaf532b8d3c0c29..50923be02c75ac5601ab0a4c38b2d0e9cc5ed3a1 100644
|
| --- a/Source/wtf/BUILD.gn
|
| +++ b/Source/wtf/BUILD.gn
|
| @@ -31,7 +31,7 @@ config("wtf_config") {
|
| "/wd4706",
|
| ]
|
|
|
| - if (component_mode == "shared_library") {
|
| + if (is_component_build) {
|
| # Chromium windows multi-dll build enables C++ exceptions and this causes
|
| # wtf to generate 4291 warning due to operator new/delete
|
| # implementations. Disable the warning for chromium windows multi-dll
|
|
|