Index: third_party/inspector_protocol/templates/Imported_h.template |
diff --git a/third_party/inspector_protocol/templates/Imported_h.template b/third_party/inspector_protocol/templates/Imported_h.template |
index 6c184a931cd9da7b3f754beb275eb02bb0f406b8..4c9d24bd5fccf77037a793410a3e9013979528d0 100644 |
--- a/third_party/inspector_protocol/templates/Imported_h.template |
+++ b/third_party/inspector_protocol/templates/Imported_h.template |
@@ -18,7 +18,7 @@ |
namespace {{namespace}} { |
{% endfor %} |
{% for type in domain.types %} |
- {% if not (type.type == "object") or not ("properties" in type) or not (type.exported) %}{% continue %}{% endif %} |
+ {% if not (type.type == "object") or not ("properties" in type) or not protocol.is_imported(domain.domain, type.id) %}{% continue %}{% endif %} |
template<> |
struct ValueConversions<{{"::".join(config.imported.namespace)}}::{{domain.domain}}::API::{{type.id}}> { |