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

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. 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 | 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");
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) {
« 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
This is Rietveld 408576698