Index: build/config/BUILD.gn |
diff --git a/build/config/BUILD.gn b/build/config/BUILD.gn |
index 39f79e6c18996e5cf1571016da007109b02418fc..4af73895467c840e757efb0330248daab44c5961 100644 |
--- a/build/config/BUILD.gn |
+++ b/build/config/BUILD.gn |
@@ -168,7 +168,7 @@ config("feature_flags") { |
if (is_msan) { |
defines += [ "MEMORY_SANITIZER" ] |
} |
- if (is_ubsan) { |
+ if (is_ubsan || is_ubsan_vptr) { |
defines += [ "UNDEFINED_SANITIZER" ] |
} |
if (enable_webrtc) { |