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

Unified Diff: Source/devtools/front_end/CanvasProfileView.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 | « no previous file | Source/devtools/front_end/ProfileLauncherView.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/CanvasProfileView.js
diff --git a/Source/devtools/front_end/CanvasProfileView.js b/Source/devtools/front_end/CanvasProfileView.js
index 0a9ddeb79e298c3550bdec880a592f64d6cd69e7..e234b6d36200141d430e20dbc32f9a6b643b3f40 100644
--- a/Source/devtools/front_end/CanvasProfileView.js
+++ b/Source/devtools/front_end/CanvasProfileView.js
@@ -806,6 +806,15 @@ WebInspector.CanvasProfileType.prototype = {
this.dispatchEventToListeners(WebInspector.ProfileType.Events.ViewUpdated);
},
+ /**
+ * @override
+ * @return {boolean}
+ */
+ isInstantProfile: function()
+ {
+ return this._isSingleFrameMode();
+ },
+
__proto__: WebInspector.ProfileType.prototype
}
« no previous file with comments | « no previous file | Source/devtools/front_end/ProfileLauncherView.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698