| OLD | NEW | 
|---|
| 1 /* | 1 /* | 
| 2  * Copyright (C) 2008 Apple Inc. All Rights Reserved. | 2  * Copyright (C) 2008 Apple Inc. All Rights Reserved. | 
| 3  * | 3  * | 
| 4  * Redistribution and use in source and binary forms, with or without | 4  * Redistribution and use in source and binary forms, with or without | 
| 5  * modification, are permitted provided that the following conditions | 5  * modification, are permitted provided that the following conditions | 
| 6  * are met: | 6  * are met: | 
| 7  * 1. Redistributions of source code must retain the above copyright | 7  * 1. Redistributions of source code must retain the above copyright | 
| 8  *    notice, this list of conditions and the following disclaimer. | 8  *    notice, this list of conditions and the following disclaimer. | 
| 9  * 2. Redistributions in binary form must reproduce the above copyright | 9  * 2. Redistributions in binary form must reproduce the above copyright | 
| 10  *    notice, this list of conditions and the following disclaimer in the | 10  *    notice, this list of conditions and the following disclaimer in the | 
| (...skipping 407 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 418 WebInspector.CallStackSidebarPane.CallFrame = function(callFrame, asyncCallFrame
     ) | 418 WebInspector.CallStackSidebarPane.CallFrame = function(callFrame, asyncCallFrame
     ) | 
| 419 { | 419 { | 
| 420     WebInspector.UIList.Item.call(this, WebInspector.beautifyFunctionName(callFr
     ame.functionName), ""); | 420     WebInspector.UIList.Item.call(this, WebInspector.beautifyFunctionName(callFr
     ame.functionName), ""); | 
| 421     WebInspector.debuggerWorkspaceBinding.createCallFrameLiveLocation(callFrame,
      this._update.bind(this)); | 421     WebInspector.debuggerWorkspaceBinding.createCallFrameLiveLocation(callFrame,
      this._update.bind(this)); | 
| 422     this._callFrame = callFrame; | 422     this._callFrame = callFrame; | 
| 423     this._asyncCallFrame = asyncCallFrame; | 423     this._asyncCallFrame = asyncCallFrame; | 
| 424 } | 424 } | 
| 425 | 425 | 
| 426 WebInspector.CallStackSidebarPane.CallFrame.prototype = { | 426 WebInspector.CallStackSidebarPane.CallFrame.prototype = { | 
| 427     /** | 427     /** | 
| 428      * @param {!WebInspector.UILocation} uiLocation | 428      * @param {!WebInspector.LiveLocation} liveLocation | 
| 429      */ | 429      */ | 
| 430     _update: function(uiLocation) | 430     _update: function(liveLocation) | 
| 431     { | 431     { | 
|  | 432         var uiLocation = liveLocation.uiLocation(); | 
|  | 433         if (!uiLocation) | 
|  | 434             return; | 
| 432         var text = uiLocation.linkText(); | 435         var text = uiLocation.linkText(); | 
| 433         this.setSubtitle(text.trimMiddle(30)); | 436         this.setSubtitle(text.trimMiddle(30)); | 
| 434         this.subtitleElement.title = text; | 437         this.subtitleElement.title = text; | 
| 435     }, | 438     }, | 
| 436 | 439 | 
| 437     __proto__: WebInspector.UIList.Item.prototype | 440     __proto__: WebInspector.UIList.Item.prototype | 
| 438 } | 441 } | 
| OLD | NEW | 
|---|