Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(856)

Unified Diff: utils/apidoc/html_diff.dart

Issue 9452037: Fix apidoc to work with latest frog. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/apidoc/html_diff.dart
diff --git a/utils/apidoc/html_diff.dart b/utils/apidoc/html_diff.dart
index 8b17f0d35e6215944a3140108e6dfc78c8121273..0acf1e794f29136c7232e9b3defc4aa3b3bb2215 100644
--- a/utils/apidoc/html_diff.dart
+++ b/utils/apidoc/html_diff.dart
@@ -164,7 +164,10 @@ class HtmlDiff {
if (implMember.isConstructor || implMember.isFactory) {
var constructor = htmlType.constructors[implMember.name];
if (constructor != null) return constructor;
- return htmlType.factories[implMember.name];
+
+ // Look for a factory constructor whose type and name matches the member.
+ return htmlType.factories.getFactoriesFor(implMember.name)[
+ implMember.constructorName];
} else if ((getter = implMember.name.startsWith('get:')) ||
(setter = implMember.name.startsWith('set:'))) {
// Use getMember to follow interface inheritance chains.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698