Index: chrome/browser/resources/profiler/profiler.js |
diff --git a/chrome/browser/resources/profiler/profiler.js b/chrome/browser/resources/profiler/profiler.js |
index a9c44c4fa3a7348dce1aa9d4feddf69ed9fc4c59..9095872d3631a7e2aa539677d7152b97bdbc7c1a 100644 |
--- a/chrome/browser/resources/profiler/profiler.js |
+++ b/chrome/browser/resources/profiler/profiler.js |
@@ -42,10 +42,6 @@ var BrowserBridge = (function() { |
chrome.send('getData'); |
}, |
- sendResetData: function() { |
- chrome.send('resetData'); |
- }, |
- |
//-------------------------------------------------------------------------- |
// Messages received from the browser. |
//-------------------------------------------------------------------------- |
@@ -99,8 +95,6 @@ var MainView = (function() { |
// "PAC threads" will be merged together. |
var MERGE_SIMILAR_THREADS_CHECKBOX_ID = 'merge-similar-threads-checkbox'; |
- var RESET_DATA_LINK_ID = 'reset-data-link'; |
- |
var TOGGLE_SNAPSHOTS_LINK_ID = 'snapshots-link'; |
var SNAPSHOTS_ROW = 'snapshots-row'; |
var SNAPSHOT_SELECTION_SUMMARY_ID = 'snapshot-selection-summary'; |
@@ -905,7 +899,7 @@ var MainView = (function() { |
value = m[1] + '*'; |
} |
return value; |
- } |
+ }; |
} else { |
propertyGetterFunc = function(row, key) { return row[key]; }; |
} |
@@ -1762,9 +1756,6 @@ var MainView = (function() { |
$(MERGE_SIMILAR_THREADS_CHECKBOX_ID).onchange = |
this.onMergeSimilarThreadsCheckboxChanged_.bind(this); |
- $(RESET_DATA_LINK_ID).onclick = |
- g_browserBridge.sendResetData.bind(g_browserBridge); |
- |
$(TAKE_SNAPSHOT_BUTTON_ID).onclick = this.takeSnapshot_.bind(this); |
$(SAVE_SNAPSHOTS_BUTTON_ID).onclick = this.saveSnapshots_.bind(this); |