| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google 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 are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 908 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 919 profile.title = profileHeader.title; | 919 profile.title = profileHeader.title; |
| 920 profile.uid = profileHeader.uid; | 920 profile.uid = profileHeader.uid; |
| 921 | 921 |
| 922 profile.sidebarElement.mainTitle = profile.title; | 922 profile.sidebarElement.mainTitle = profile.title; |
| 923 profile.sidebarElement.subtitle = ""; | 923 profile.sidebarElement.subtitle = ""; |
| 924 profile.sidebarElement.wait = false; | 924 profile.sidebarElement.wait = false; |
| 925 | 925 |
| 926 this._profileSamples = null; | 926 this._profileSamples = null; |
| 927 this._profileBeingRecorded = null; | 927 this._profileBeingRecorded = null; |
| 928 | 928 |
| 929 WebInspector.panels.profiles._showProfile(profile); | 929 WebInspector.panels.profiles.showProfile(profile); |
| 930 profile.existingView()._refreshView(); | 930 profile.existingView()._refreshView(); |
| 931 }, | 931 }, |
| 932 | 932 |
| 933 /** | 933 /** |
| 934 * @override | 934 * @override |
| 935 * @param {number} uid | 935 * @param {number} uid |
| 936 * @param {string} chunk | 936 * @param {string} chunk |
| 937 */ | 937 */ |
| 938 addHeapSnapshotChunk: function(uid, chunk) | 938 addHeapSnapshotChunk: function(uid, chunk) |
| 939 { | 939 { |
| (...skipping 987 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1927 }, | 1927 }, |
| 1928 | 1928 |
| 1929 /** | 1929 /** |
| 1930 * @return {number} | 1930 * @return {number} |
| 1931 */ | 1931 */ |
| 1932 boundarySpan: function() | 1932 boundarySpan: function() |
| 1933 { | 1933 { |
| 1934 return this._maximumBoundaries - this._minimumBoundaries; | 1934 return this._maximumBoundaries - this._minimumBoundaries; |
| 1935 } | 1935 } |
| 1936 } | 1936 } |
| OLD | NEW |