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

Unified Diff: samples/swarm/swarm_ui_lib/touch/FxUtil.dart

Issue 12441003: Rename String.concat to operator+. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments. 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
Index: samples/swarm/swarm_ui_lib/touch/FxUtil.dart
diff --git a/samples/swarm/swarm_ui_lib/touch/FxUtil.dart b/samples/swarm/swarm_ui_lib/touch/FxUtil.dart
index b3858628604eca39f3b6b48528b4428b6dcc648b..686e69ee1453a40da23902086f07888d933e611f 100644
--- a/samples/swarm/swarm_ui_lib/touch/FxUtil.dart
+++ b/samples/swarm/swarm_ui_lib/touch/FxUtil.dart
@@ -47,10 +47,10 @@ class FxUtil {
// consider using CSSMatrix although that may be overkill.
String transform = '${TRANSLATE_3D}(${x}px,${y}px,${z}px)';
if (rotation != null) {
- transform = transform.concat(' ${ROTATE}(${rotation}deg)');
+ transform += ' ${ROTATE}(${rotation}deg)';
}
if (scale != null) {
- transform = transform.concat(' ${SCALE}(${scale})');
+ transform += ' ${SCALE}(${scale})';
}
style.transform = transform;
if (originX != null || originY != null) {
« no previous file with comments | « runtime/tests/vm/dart/inline_stack_frame_test.dart ('k') | sdk/lib/_internal/compiler/implementation/lib/js_string.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698