Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(33)

Side by Side Diff: Source/devtools/front_end/HeapSnapshotView.js

Issue 147923011: Remove unnecessary _profileTypesByIdMap map (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Comments addressed Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/CPUProfileView.js ('k') | Source/devtools/front_end/ProfileLauncherView.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698