Index: Source/WebCore/bindings/dart/DartController.cpp |
diff --git a/Source/WebCore/bindings/dart/DartController.cpp b/Source/WebCore/bindings/dart/DartController.cpp |
index f45f847057dbc9112c79a57a8e98def58015c141..3f01ddfee0834c23d32ac4529054e8313199f3a0 100644 |
--- a/Source/WebCore/bindings/dart/DartController.cpp |
+++ b/Source/WebCore/bindings/dart/DartController.cpp |
@@ -135,7 +135,7 @@ bool DartController::createIsolate(const char* scriptURL, const char* entryPoint |
Dart_LibraryImportLibrary(core, html, Dart_Null()); |
// Setup configuration closures |
- copyValue(html, "_printClosure", "dart:core", 0, "_printClosure"); |
+ copyValue(html, getenv("DART_FORWARDING_PRINT") ? "_forwardingPrintClosure" : "_printClosure", "dart:core", 0, "_printClosure"); |
Mads Ager (google)
2013/03/13 07:06:17
Could you add a comment about this Anton. I have n
Anton Muhin
2013/03/13 08:56:19
I've added a comment right before forwardingPrint,
|
copyValue(html, "_timerFactoryClosure", "dart:async", "_TimerFactory", "_factory"); |
if (isDOMEnabled) { |