Chromium Code Reviews

Unified Diff: Source/WebCore/bindings/dart/DartController.cpp

Issue 12477005: Enable print forwarding. (Closed) Base URL: svn://svn.chromium.org/multivm/trunk/webkit
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « no previous file | Source/WebCore/bindings/dart/DartNativeUtilities.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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");
copyValue(html, "_timerFactoryClosure", "dart:async", "_TimerFactory", "_factory");
if (isDOMEnabled) {
« no previous file with comments | « no previous file | Source/WebCore/bindings/dart/DartNativeUtilities.cpp » ('j') | no next file with comments »

Powered by Google App Engine