Index: tools/clang/blink_gc_plugin/BlinkGCPluginConsumer.cpp |
diff --git a/tools/clang/blink_gc_plugin/BlinkGCPluginConsumer.cpp b/tools/clang/blink_gc_plugin/BlinkGCPluginConsumer.cpp |
index 441138a724b25ef6ba0070d8a4d84efc58aaa288..5c1605bd6368271a7c7c5be53c138cdc409afaef 100644 |
--- a/tools/clang/blink_gc_plugin/BlinkGCPluginConsumer.cpp |
+++ b/tools/clang/blink_gc_plugin/BlinkGCPluginConsumer.cpp |
@@ -218,7 +218,7 @@ BlinkGCPluginConsumer::BlinkGCPluginConsumer( |
diag_class_contains_invalid_fields_ = diagnostic_.getCustomDiagID( |
getErrorLevel(), kClassContainsInvalidFields); |
diag_class_contains_invalid_fields_warning_ = diagnostic_.getCustomDiagID( |
- DiagnosticsEngine::Warning, kClassContainsInvalidFields); |
+ getErrorLevel(), kClassContainsInvalidFields); |
diag_class_contains_gc_root_ = |
diagnostic_.getCustomDiagID(getErrorLevel(), kClassContainsGCRoot); |
diag_class_requires_finalization_ = diagnostic_.getCustomDiagID( |