Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / trace-viewer / trace_viewer / tracing / importer / linux_perf_importer.html
index 8a6ec62..2ad75db 100644 (file)
@@ -43,7 +43,7 @@ found in the LICENSE file.
  */
 'use strict';
 
-tvcm.exportTo('tracing.importer', function() {
+tv.exportTo('tracing.importer', function() {
   var Importer = tracing.importer.Importer;
 
   /**
@@ -382,10 +382,10 @@ tvcm.exportTo('tracing.importer', function() {
       }
 
       // Create slices for when the thread is not running.
-      var runningId = tvcm.ui.getColorIdByName('running');
-      var runnableId = tvcm.ui.getColorIdByName('runnable');
-      var sleepingId = tvcm.ui.getColorIdByName('sleeping');
-      var ioWaitId = tvcm.ui.getColorIdByName('iowait');
+      var runningId = tv.ui.getColorIdByName('running');
+      var runnableId = tv.ui.getColorIdByName('runnable');
+      var sleepingId = tv.ui.getColorIdByName('sleeping');
+      var ioWaitId = tv.ui.getColorIdByName('iowait');
       this.model_.getAllThreads().forEach(function(thread) {
         if (thread.tempCpuSlices === undefined)
           return;