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

Unified Diff: runtime/bin/file_impl.dart

Issue 10829459: Deprecate Math object in corelib in favor of dart:math library. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address review comments. Created 8 years, 4 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 | « pkg/unittest/interactive_html_config.dart ('k') | runtime/bin/http_impl.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/file_impl.dart
diff --git a/runtime/bin/file_impl.dart b/runtime/bin/file_impl.dart
index 9b14716e92e25aaa911e56e31784a39a9a4cf135..69add2dbbafc0d9dbf325fa0dde1839668100580 100644
--- a/runtime/bin/file_impl.dart
+++ b/runtime/bin/file_impl.dart
@@ -60,7 +60,7 @@ class _FileInputStream extends _BaseDataInputStream implements InputStream {
void _fillBuffer() {
Expect.equals(_position, _data.length);
if (_openedFile == null) return; // Called before the file is opened.
- int size = Math.min(_bufferLength, _fileLength - _filePosition);
+ int size = min(_bufferLength, _fileLength - _filePosition);
if (size == 0) {
_closeFile();
return;
« no previous file with comments | « pkg/unittest/interactive_html_config.dart ('k') | runtime/bin/http_impl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698