Index: build/android/pylib/perf/perf_test_instance.py |
diff --git a/build/android/pylib/perf/perf_test_instance.py b/build/android/pylib/perf/perf_test_instance.py |
index c897f189a1aa31c7132807d36533dcf0b6a10e1f..69ecf4c262a3d8557b2174995e24160b1a8b144a 100644 |
--- a/build/android/pylib/perf/perf_test_instance.py |
+++ b/build/android/pylib/perf/perf_test_instance.py |
@@ -26,7 +26,7 @@ def _GetPersistedResult(test_name): |
return None |
with file(file_name, 'r') as f: |
- return pickle.loads(f.read()) |
+ return pickle.load(f) |
def _GetChromiumRevision(): |