Index: runtime/bin/vmservice/client/lib/src/observatory_elements/message_viewer.html |
diff --git a/runtime/bin/vmservice/client/lib/src/observatory_elements/message_viewer.html b/runtime/bin/vmservice/client/lib/src/observatory_elements/message_viewer.html |
index f71680767edfd756daa4800bb556970894f31752..130dba6c4dc0a1ce54a5619492e165fdd4df2767 100644 |
--- a/runtime/bin/vmservice/client/lib/src/observatory_elements/message_viewer.html |
+++ b/runtime/bin/vmservice/client/lib/src/observatory_elements/message_viewer.html |
@@ -5,6 +5,7 @@ |
<link rel="import" href="error_view.html"> |
<link rel="import" href="field_view.html"> |
<link rel="import" href="function_view.html"> |
+ <link rel="import" href="heap_profile.html"> |
<link rel="import" href="instance_view.html"> |
<link rel="import" href="isolate_list.html"> |
<link rel="import" href="json_view.html"> |
@@ -69,6 +70,9 @@ |
<template if="{{ messageType == 'Script' }}"> |
<script-view app="{{ app }}" script="{{ message['script'] }}"></script-view> |
</template> |
+ <template if="{{ messageType == 'AllocationProfile' }}"> |
+ <heap-profile app="{{ app }}" profile="{{ message }}"></heap-profile> |
+ </template> |
<template if="{{ messageType == 'CPU' }}"> |
<json-view json="{{ message }}"></json-view> |
</template> |