Index: webkit/glue/devtools/js/inspector_controller.js |
diff --git a/webkit/glue/devtools/js/inspector_controller.js b/webkit/glue/devtools/js/inspector_controller.js |
index 474b0b51bd1ac3ca32acf389932787995a0e127d..0dc16522cdf5149cb0869dfa97c89b5a39e68fa0 100644 |
--- a/webkit/glue/devtools/js/inspector_controller.js |
+++ b/webkit/glue/devtools/js/inspector_controller.js |
@@ -446,19 +446,9 @@ devtools.InspectorController.prototype.stopProfiling = function() { |
/** |
- * TODO(mnaganov): Remove after injected script change landing in WebKit. |
- * @return {Array.<Object>} Profile snapshots array. |
- */ |
-devtools.InspectorController.prototype.profiles = function() { |
- return []; |
-}; |
- |
- |
-/** |
* Async function for retrieving headers of existing profiles. |
*/ |
devtools.InspectorController.prototype.getProfileHeaders = function(callId) { |
- WebInspector.didGetProfileHeaders(callId, []); |
}; |
@@ -466,9 +456,6 @@ devtools.InspectorController.prototype.getProfileHeaders = function(callId) { |
* Async function for lazy loading an existing profile. |
*/ |
devtools.InspectorController.prototype.getProfile = function(callId, uid) { |
- if (WebInspector.__fullProfiles && (uid in WebInspector.__fullProfiles)) { |
- WebInspector.didGetProfile(callId, WebInspector.__fullProfiles[uid]); |
- } |
}; |