Title: [91360] trunk/Source/WebCore
Revision
91360
Author
[email protected]
Date
2011-07-20 07:03:14 -0700 (Wed, 20 Jul 2011)

Log Message

Web Inspector: remove dead code (WebInspector.drawLoadingPieChart)
https://bugs.webkit.org/show_bug.cgi?id=64868

Reviewed by Yury Semikhatsky.

* inspector/front-end/inspector.js:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (91359 => 91360)


--- trunk/Source/WebCore/ChangeLog	2011-07-20 13:29:52 UTC (rev 91359)
+++ trunk/Source/WebCore/ChangeLog	2011-07-20 14:03:14 UTC (rev 91360)
@@ -1,5 +1,14 @@
 2011-07-20  Andrey Kosyakov  <[email protected]>
 
+        Web Inspector: remove dead code (WebInspector.drawLoadingPieChart)
+        https://bugs.webkit.org/show_bug.cgi?id=64868
+
+        Reviewed by Yury Semikhatsky.
+
+        * inspector/front-end/inspector.js:
+
+2011-07-20  Andrey Kosyakov  <[email protected]>
+
         Web Inspector: move Network log view to an iframe
         https://bugs.webkit.org/show_bug.cgi?id=62006
 

Modified: trunk/Source/WebCore/inspector/front-end/inspector.js (91359 => 91360)


--- trunk/Source/WebCore/inspector/front-end/inspector.js	2011-07-20 13:29:52 UTC (rev 91359)
+++ trunk/Source/WebCore/inspector/front-end/inspector.js	2011-07-20 14:03:14 UTC (rev 91360)
@@ -1161,36 +1161,6 @@
     logMessage(message);
 }
 
-WebInspector.drawLoadingPieChart = function(canvas, percent) {
-    var g = canvas.getContext("2d");
-    var darkColor = "rgb(122, 168, 218)";
-    var lightColor = "rgb(228, 241, 251)";
-    var cx = 8;
-    var cy = 8;
-    var r = 7;
-
-    g.beginPath();
-    g.arc(cx, cy, r, 0, Math.PI * 2, false);
-    g.closePath();
-
-    g.lineWidth = 1;
-    g.strokeStyle = darkColor;
-    g.fillStyle = lightColor;
-    g.fill();
-    g.stroke();
-
-    var startangle = -Math.PI / 2;
-    var endangle = startangle + (percent * Math.PI * 2);
-
-    g.beginPath();
-    g.moveTo(cx, cy);
-    g.arc(cx, cy, r, startangle, endangle, false);
-    g.closePath();
-
-    g.fillStyle = darkColor;
-    g.fill();
-}
-
 WebInspector.inspect = function(payload, hints)
 {
     var object = WebInspector.RemoteObject.fromPayload(payload);
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to