tizen beta release
[framework/web/webkit-efl.git] / Source / WebCore / inspector / front-end / ProfileDataGridTree.js
index cf40bc2..c308846 100755 (executable)
@@ -50,7 +50,7 @@ WebInspector.ProfileDataGridNode.prototype = {
     {
         function formatMilliseconds(time)
         {
-            return Number.secondsToString(time / 1000, !Preferences.samplingCPUProfiler);
+            return Number.secondsToString(time / 1000, !Capabilities.samplingCPUProfiler);
         }
 
         var data = {};
@@ -58,17 +58,17 @@ WebInspector.ProfileDataGridNode.prototype = {
         data["function"] = this.functionName;
         data["calls"] = this.numberOfCalls;
 
-        if (this.profileView.showSelfTimeAsPercent)
+        if (this.profileView.showSelfTimeAsPercent.get())
             data["self"] = WebInspector.UIString("%.2f%%", this.selfPercent);
         else
             data["self"] = formatMilliseconds(this.selfTime);
 
-        if (this.profileView.showTotalTimeAsPercent)
+        if (this.profileView.showTotalTimeAsPercent.get())
             data["total"] = WebInspector.UIString("%.2f%%", this.totalPercent);
         else
             data["total"] = formatMilliseconds(this.totalTime);
 
-        if (this.profileView.showAverageTimeAsPercent)
+        if (this.profileView.showAverageTimeAsPercent.get())
             data["average"] = WebInspector.UIString("%.2f%%", this.averagePercent);
         else
             data["average"] = formatMilliseconds(this.averageTime);