Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
|
Johnni Winther
2012/06/29 09:34:43
What does the new content have to do with the old
Lasse Reichstein Nielsen
2012/06/29 12:01:35
Again, there is no prior content, just git being a
| |
| 5 class _MediaStreamFactoryProvider { | 5 // Patch file for dart:web |
| 6 factory MediaStream(MediaStreamTrackList audioTracks, MediaStreamTrackList vid eoTracks) => null; | 6 |
| 7 /*patch*/ String htmlEscape(String text) { | |
| 8 return text.replaceAll("&", "&") | |
| 9 .replaceAll("<", "<") | |
| 10 .replaceAll(">", ">") | |
| 11 .replaceAll('"', """) | |
| 12 .replaceAll("'", "'"); // Different from original. | |
| 7 } | 13 } |
| OLD | NEW |