Index: tracing/tracing/mre/file_handle.html |
diff --git a/tracing/tracing/mre/file_handle.html b/tracing/tracing/mre/file_handle.html |
index 9e04e55c0113eec5278726d43603aca91453b1b0..50b18385ddd3392943cde1a19720124c542648cc 100644 |
--- a/tracing/tracing/mre/file_handle.html |
+++ b/tracing/tracing/mre/file_handle.html |
@@ -54,6 +54,7 @@ tr.exportTo('tr.mre', function() { |
// TODO(eakuefner): assert startswith file:// |
FileHandle.call(this, canonicalUrl); |
this.urlToLoad = urlToLoad; |
+ this.loadAsTraceStream_ = false; |
} |
URLFileHandle.prototype = { |
@@ -66,7 +67,7 @@ tr.exportTo('tr.mre', function() { |
load: function() { |
try { |
- return tr.b.getSync(this.urlToLoad); |
+ return tr.b.getSync(this.urlToLoad, this.loadAsTraceStream_); |
} catch (ex) { |
var err = new Error('Could not open ' + this.urlToLoad); |
err.name = 'FileLoadingError'; |