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

Unified Diff: Source/devtools/front_end/ui/treeoutline.js

Issue 705263002: DevTools: [Elements] Fix updates of the DOM tree upon inline text node removal (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 6 years, 1 month 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/elements/ElementsTreeOutline.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/ui/treeoutline.js
diff --git a/Source/devtools/front_end/ui/treeoutline.js b/Source/devtools/front_end/ui/treeoutline.js
index 55ec4c50c6a46714e558f75087ecd5ce2f73a2a1..7bbea86ec05debc1966dac6beae1b5ebbcea1557 100644
--- a/Source/devtools/front_end/ui/treeoutline.js
+++ b/Source/devtools/front_end/ui/treeoutline.js
@@ -518,6 +518,16 @@ TreeElement.prototype = {
return this._hasChildren;
},
+ /**
+ * Used inside subclasses.
+ *
+ * @param {boolean} hasChildren
+ */
+ setHasChildren: function(hasChildren)
+ {
+ this.hasChildren = hasChildren;
+ },
+
set hasChildren(x) {
if (this._hasChildren === x)
return;
« no previous file with comments | « Source/devtools/front_end/elements/ElementsTreeOutline.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698