<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 {
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);
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 ) {