Index: utils/apidoc/html_diff.dart |
diff --git a/utils/apidoc/html_diff.dart b/utils/apidoc/html_diff.dart |
index c4680d2c7de25ff27cb85fb4ea78bccab6ebd8a3..3bf7e4cf2d5074a31754cc5447433c4002919705 100644 |
--- a/utils/apidoc/html_diff.dart |
+++ b/utils/apidoc/html_diff.dart |
@@ -123,7 +123,7 @@ class HtmlDiff { |
var domMembers = htmlToDomMembers(htmlMember, domTypes); |
if (htmlMember == null && !domMembers.isEmpty) { |
warn('$HTML_LIBRARY_NAME member ' |
- '${htmlMember.surroundingDeclaration.simpleName}.' |
+ '${htmlMember.owner.simpleName}.' |
'${htmlMember.simpleName} has no corresponding ' |
'$HTML_LIBRARY_NAME member.'); |
} |