Index: chrome/tools/test/reference_build/chrome_linux/resources/inspector/profile.js |
diff --git a/chrome/tools/test/reference_build/chrome_linux/resources/inspector/profile.js b/chrome/tools/test/reference_build/chrome_linux/resources/inspector/profile.js |
index 614c63557697b5a73858d38d0af8026e4e7b78ea..db4b542ff231af1390a8a253d59eb68645b31bcd 100644 |
--- a/chrome/tools/test/reference_build/chrome_linux/resources/inspector/profile.js |
+++ b/chrome/tools/test/reference_build/chrome_linux/resources/inspector/profile.js |
@@ -86,7 +86,23 @@ devtools.profiler.Profile.prototype.handleUnknownCode = function( |
/** |
- * Registers static (library) code entry. |
+ * Registers a library. |
+ * |
+ * @param {string} name Code entry name. |
+ * @param {number} startAddr Starting address. |
+ * @param {number} endAddr Ending address. |
+ */ |
+devtools.profiler.Profile.prototype.addLibrary = function( |
+ name, startAddr, endAddr) { |
+ var entry = new devtools.profiler.CodeMap.CodeEntry( |
+ endAddr - startAddr, name); |
+ this.codeMap_.addLibrary(startAddr, entry); |
+ return entry; |
+}; |
+ |
+ |
+/** |
+ * Registers statically compiled code entry. |
* |
* @param {string} name Code entry name. |
* @param {number} startAddr Starting address. |