auto merge of #4186 : mbrubeck/servo/layout-viewer, r=glennw

d1b433a3b3 changed the encoding format for Flows.  The root is no longer wrapped inside a `data` field, but instead includes BaseFlow fields directly.  This broke the layout trace viewer, which threw an uncaught exception when the `data` property was missing.  This fixes the exception, though some functionality may still be partly broken.
This commit is contained in:
bors-servo 2014-12-02 18:39:50 -07:00
commit b2b6d4d0d1

View file

@ -90,6 +90,9 @@
<script>
function get_base(node) {
if (node.id !== undefined) {
return node;
}
if (node.data.base !== undefined) {
return node.data.base;
}