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

Unified Diff: pkg/webdriver/lib/webdriver.dart

Issue 12473003: Remove deprecated StringBuffer.add, addAll and addCharCode. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
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
Index: pkg/webdriver/lib/webdriver.dart
diff --git a/pkg/webdriver/lib/webdriver.dart b/pkg/webdriver/lib/webdriver.dart
index 41d0cbc73b1d35f24e3b77a04900dbaee5e6588d..bac34523e634853bc2b1c7d0ecf14a285134e4bb 100644
--- a/pkg/webdriver/lib/webdriver.dart
+++ b/pkg/webdriver/lib/webdriver.dart
@@ -268,7 +268,7 @@ class WebDriverBase {
s.onData = () {
var data = s.read();
if (data != null) {
- sbuf.add(data);
+ sbuf.write(data);
}
};
s.onClosed = () {

Powered by Google App Engine
This is Rietveld 408576698