Index: third_party/WebKit/Source/devtools/front_end/console/ConsoleView.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/console/ConsoleView.js b/third_party/WebKit/Source/devtools/front_end/console/ConsoleView.js |
index b4e2abf0b71f6d8c124ef39b5b21194572a2a460..51147c41b4834b4ae0fda11e1748d0117d153a37 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/console/ConsoleView.js |
+++ b/third_party/WebKit/Source/devtools/front_end/console/ConsoleView.js |
@@ -1253,13 +1253,13 @@ WebInspector.ConsoleCommand.prototype = { |
*/ |
contentElement: function() |
{ |
- if (!this._element) { |
- this._element = createElementWithClass("div", "console-user-command"); |
- this._element.message = this; |
+ if (!this._contentElement) { |
+ this._contentElement = createElementWithClass("div", "console-user-command"); |
+ this._contentElement.message = this; |
this._formattedCommand = createElementWithClass("span", "console-message-text source-code"); |
this._formattedCommand.textContent = this.text.replaceControlCharacters(); |
- this._element.appendChild(this._formattedCommand); |
+ this._contentElement.appendChild(this._formattedCommand); |
if (this._formattedCommand.textContent.length < WebInspector.ConsoleCommand.MaxLengthToIgnoreHighlighter) { |
var javascriptSyntaxHighlighter = new WebInspector.DOMSyntaxHighlighter("text/javascript", true); |
@@ -1268,7 +1268,7 @@ WebInspector.ConsoleCommand.prototype = { |
this._updateSearch(); |
} |
} |
- return this._element; |
+ return this._contentElement; |
}, |
_updateSearch: function() |