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

Unified Diff: sdk/lib/_blink/dartium/_blink_dartium.dart

Issue 300923003: Modify blink type map to finalize lazily (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Regenerate / merge Created 6 years, 6 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 | sdk/lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_blink/dartium/_blink_dartium.dart
diff --git a/sdk/lib/_blink/dartium/_blink_dartium.dart b/sdk/lib/_blink/dartium/_blink_dartium.dart
index b4e4f8db02252e61ff3a73cdacc29165bb21c2b5..81a0cb64531317800475d0e13292f7098488ae83 100644
--- a/sdk/lib/_blink/dartium/_blink_dartium.dart
+++ b/sdk/lib/_blink/dartium/_blink_dartium.dart
@@ -9360,17 +9360,17 @@ class BlinkXSLTProcessor {
Type _getType(String key) {
// TODO(vsm): Add Cross Frame and JS types here as well.
if (htmlBlinkMap.containsKey(key))
- return htmlBlinkMap[key];
+ return htmlBlinkMap[key]();
if (indexed_dbBlinkMap.containsKey(key))
- return indexed_dbBlinkMap[key];
+ return indexed_dbBlinkMap[key]();
if (web_audioBlinkMap.containsKey(key))
- return web_audioBlinkMap[key];
+ return web_audioBlinkMap[key]();
if (web_glBlinkMap.containsKey(key))
- return web_glBlinkMap[key];
+ return web_glBlinkMap[key]();
if (web_sqlBlinkMap.containsKey(key))
- return web_sqlBlinkMap[key];
+ return web_sqlBlinkMap[key]();
if (svgBlinkMap.containsKey(key))
- return svgBlinkMap[key];
+ return svgBlinkMap[key]();
return null;
}// Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
« no previous file with comments | « no previous file | sdk/lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698