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

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

Issue 204333004: DevTools: Speculatively patch DevTools to make CodeSchool extension work. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed pause settings Created 6 years, 9 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/Main.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/HeapSnapshotView.js
diff --git a/Source/devtools/front_end/HeapSnapshotView.js b/Source/devtools/front_end/HeapSnapshotView.js
index 5574b3586f0cfd52450cbb336ea61933ef955670..0af9f996e1b09098d15a4119c0cbc1e6f058d9b2 100644
--- a/Source/devtools/front_end/HeapSnapshotView.js
+++ b/Source/devtools/front_end/HeapSnapshotView.js
@@ -863,6 +863,12 @@ WebInspector.HeapSnapshotView.prototype = {
_onSelectedPerspectiveChanged: function(event)
{
this._changePerspective(event.target.selectedIndex);
+ // FIXME: This is needed by CodeSchool extension.
+ this._onSelectedViewChanged(event);
+ },
+
+ _onSelectedViewChanged: function(event)
+ {
},
_changePerspective: function(selectedIndex)
« no previous file with comments | « no previous file | Source/devtools/front_end/Main.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698