Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / trace-viewer / examples / skia_debugger.html
index d58a45e..59c4910 100644 (file)
@@ -8,9 +8,13 @@ found in the LICENSE file.
 <head>
 <title>Skia Debugger</title>
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
-<script src="/polymer.js"></script>
+
+<script src="/components/platform/platform.js"></script>
+
+<link rel="import" href="/components/polymer/polymer.html">
 <link rel="import" href="/cc/picture.html">
 <link rel="import" href="/cc/picture_debugger.html">
+
 <script src="string_convert.js"></script>
 <style>
   picture-ops-list-view {
@@ -34,7 +38,7 @@ found in the LICENSE file.
     if (!cc.PictureSnapshot.CanGetInfo()) {
       console.error(cc.PictureSnapshot.HowToEnablePictureDebugging());
 
-      var infoBar = new tvcm.ui.InfoBar();
+      var infoBar = new tv.ui.InfoBar();
       var view = document.querySelector('.view');
 
       view.removeChild(debuggerEl);
@@ -52,8 +56,8 @@ found in the LICENSE file.
       throw new Error('Unable to get picture information');
 
     return new cc.Picture(skp64,
-        tvcm.Rect.fromXYWH(0, 0, size.width, size.height),
-        tvcm.Rect.fromXYWH(0, 0, size.width, size.height));
+        tv.Rect.fromXYWH(0, 0, size.width, size.height),
+        tv.Rect.fromXYWH(0, 0, size.width, size.height));
   };
 
   function utf8_to_b64( str ) {