Index: third_party/WebKit/Source/core/xml/DocumentXMLTreeViewer.js |
diff --git a/third_party/WebKit/Source/core/xml/DocumentXMLTreeViewer.js b/third_party/WebKit/Source/core/xml/DocumentXMLTreeViewer.js |
index 983ea657ff12375c6956df66b722d7ffe6283e86..c377a2c2250dc3434419fb2ecd7f1b02165b34ef 100644 |
--- a/third_party/WebKit/Source/core/xml/DocumentXMLTreeViewer.js |
+++ b/third_party/WebKit/Source/core/xml/DocumentXMLTreeViewer.js |
@@ -59,7 +59,6 @@ privateScriptController.installClass("Document", function(DocumentPrototype) { |
for (var i = 0; i < nodeParentPairs.length; i++) |
processNode(nodeParentPairs[i].parentElement, nodeParentPairs[i].node); |
- drawArrows(); |
initButtons(); |
return false; |
@@ -340,33 +339,6 @@ privateScriptController.installClass("Document", function(DocumentPrototype) { |
return attribute; |
} |
- // Tree behaviour. |
- |
- function drawArrows() |
- { |
- var ctx = document.getCSSCanvasContext("2d", "arrowRight", 10, 11); |
- |
- ctx.fillStyle = "rgb(90,90,90)"; |
- ctx.beginPath(); |
- ctx.moveTo(0, 0); |
- ctx.lineTo(0, 8); |
- ctx.lineTo(7, 4); |
- ctx.lineTo(0, 0); |
- ctx.fill(); |
- ctx.closePath(); |
- |
- var ctx = document.getCSSCanvasContext("2d", "arrowDown", 10, 10); |
- |
- ctx.fillStyle = "rgb(90,90,90)"; |
- ctx.beginPath(); |
- ctx.moveTo(0, 0); |
- ctx.lineTo(8, 0); |
- ctx.lineTo(4, 7); |
- ctx.lineTo(0, 0); |
- ctx.fill(); |
- ctx.closePath(); |
- } |
- |
function expandFunction(sectionId) |
{ |
return function() |