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

Unified Diff: Source/devtools/front_end/sources/ScopeChainSidebarPane.js

Issue 1172643002: DevTools: migrate sidebar pane's titleElement to use Toolbar. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: only using latin1 in css Created 5 years, 6 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
Index: Source/devtools/front_end/sources/ScopeChainSidebarPane.js
diff --git a/Source/devtools/front_end/sources/ScopeChainSidebarPane.js b/Source/devtools/front_end/sources/ScopeChainSidebarPane.js
index f06154af25157915e316e3185c27634679c533ae..acaaa19b7e5520d10689b2fc5fa8b88327fb6160 100644
--- a/Source/devtools/front_end/sources/ScopeChainSidebarPane.js
+++ b/Source/devtools/front_end/sources/ScopeChainSidebarPane.js
@@ -46,13 +46,13 @@ WebInspector.ScopeChainSidebarPane.prototype = {
*/
update: function(callFrame)
{
- this.bodyElement.removeChildren();
+ this.element.removeChildren();
if (!callFrame) {
var infoElement = createElement("div");
infoElement.className = "info";
infoElement.textContent = WebInspector.UIString("Not Paused");
- this.bodyElement.appendChild(infoElement);
+ this.element.appendChild(infoElement);
return;
}
@@ -138,7 +138,7 @@ WebInspector.ScopeChainSidebarPane.prototype = {
section.element.classList.add("scope-chain-sidebar-pane-section");
this._sections.push(section);
- this.bodyElement.appendChild(section.element);
+ this.element.appendChild(section.element);
}
},

Powered by Google App Engine
This is Rietveld 408576698