Index: lib/dartdoc/client-shared.dart |
diff --git a/lib/dartdoc/client-shared.dart b/lib/dartdoc/client-shared.dart |
index 9b3ab21c7cba27d5ff46dbd068421c193917c9e5..7d9db1576d5528740b8d11d9bbcaec29c7759fb5 100644 |
--- a/lib/dartdoc/client-shared.dart |
+++ b/lib/dartdoc/client-shared.dart |
@@ -24,7 +24,7 @@ enableCodeBlocks() { |
} else { |
// Syntax highlight. |
if (!pre.classes.contains('formatted')) { |
- pre.innerHTML = classifySource(new frog.SourceFile('', pre.text)); |
+ pre.innerHTML = classifySource(pre.text); |
pre.classes.add('formatted'); |
}; |
pre.classes.add('expanded'); |