Index: third_party/WebKit/Source/BUILD.gn |
diff --git a/third_party/WebKit/Source/BUILD.gn b/third_party/WebKit/Source/BUILD.gn |
index ca5d37ceb669962f2b942391e9c90c4b2f0c26aa..db6cfdde1dc8324384428063071763107680c987 100644 |
--- a/third_party/WebKit/Source/BUILD.gn |
+++ b/third_party/WebKit/Source/BUILD.gn |
@@ -151,6 +151,15 @@ config("config") { |
"use-chromium-style-naming", |
] |
} |
+ |
+ # TODO(https://crbug.com/689864): remove once the GC plugin has been rolled |
+ # with this warning default enabled. |
+ cflags += [ |
+ "-Xclang", |
+ "-plugin-arg-blink-gc-plugin", |
+ "-Xclang", |
+ "warn-stack-allocated-trace-method", |
+ ] |
} |
} |