Index: Source/devtools/front_end/ui/ShowMoreDataGridNode.js |
diff --git a/Source/devtools/front_end/ui/ShowMoreDataGridNode.js b/Source/devtools/front_end/ui/ShowMoreDataGridNode.js |
index e8420fce60f4c7937a37a3e26da2e6c3abe55502..464b2c23be815344c72063ea9a138f02208741ab 100644 |
--- a/Source/devtools/front_end/ui/ShowMoreDataGridNode.js |
+++ b/Source/devtools/front_end/ui/ShowMoreDataGridNode.js |
@@ -44,16 +44,16 @@ WebInspector.ShowMoreDataGridNode = function(callback, startPosition, endPositio |
this._endPosition = endPosition; |
this._chunkSize = chunkSize; |
- this.showNext = document.createElement("button"); |
+ this.showNext = createElement("button"); |
this.showNext.setAttribute("type", "button"); |
this.showNext.addEventListener("click", this._showNextChunk.bind(this), false); |
this.showNext.textContent = WebInspector.UIString("Show %d before", this._chunkSize); |
- this.showAll = document.createElement("button"); |
+ this.showAll = createElement("button"); |
this.showAll.setAttribute("type", "button"); |
this.showAll.addEventListener("click", this._showAll.bind(this), false); |
- this.showLast = document.createElement("button"); |
+ this.showLast = createElement("button"); |
this.showLast.setAttribute("type", "button"); |
this.showLast.addEventListener("click", this._showLastChunk.bind(this), false); |
this.showLast.textContent = WebInspector.UIString("Show %d after", this._chunkSize); |