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

Unified Diff: Source/devtools/front_end/ProfileLauncherView.js

Issue 14619029: DevTools [Canvas Profile] Fix CanvasProfile control button issue (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/devtools/front_end/CanvasProfileView.js ('k') | Source/devtools/front_end/ProfilesPanel.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/ProfileLauncherView.js
diff --git a/Source/devtools/front_end/ProfileLauncherView.js b/Source/devtools/front_end/ProfileLauncherView.js
index af301acf1c752d11e21e1dd4b3d3b5c01ab0f091..b0287c6d74894a2431e375a6d2d2bf05d11b6813 100644
--- a/Source/devtools/front_end/ProfileLauncherView.js
+++ b/Source/devtools/front_end/ProfileLauncherView.js
@@ -94,6 +94,15 @@ WebInspector.ProfileLauncherView.prototype = {
this._updateControls();
},
+ /**
+ * @param {WebInspector.ProfileType} profileType
+ */
+ updateProfileType: function(profileType)
+ {
+ this._isInstantProfile = profileType.isInstantProfile();
+ this._updateControls();
+ },
+
__proto__: WebInspector.View.prototype
}
« no previous file with comments | « Source/devtools/front_end/CanvasProfileView.js ('k') | Source/devtools/front_end/ProfilesPanel.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698