OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <!-- | 2 <!-- |
3 Copyright 2017 The Chromium Authors. All rights reserved. | 3 Copyright 2017 The Chromium Authors. All rights reserved. |
4 Use of this source code is governed by a BSD-style license that can be | 4 Use of this source code is governed by a BSD-style license that can be |
5 found in the LICENSE file. | 5 found in the LICENSE file. |
6 --> | 6 --> |
7 | 7 |
8 <link rel="import" href="/tracing/value/diagnostics/diagnostic.html"> | 8 <link rel="import" href="/tracing/value/diagnostics/diagnostic.html"> |
9 | 9 |
10 <script> | 10 <script> |
(...skipping 30 matching lines...) Expand all Loading... |
41 | 41 |
42 clone() { | 42 clone() { |
43 return new Ownership(this.emails, this.component); | 43 return new Ownership(this.emails, this.component); |
44 } | 44 } |
45 | 45 |
46 static fromDict(d) { | 46 static fromDict(d) { |
47 return new Ownership(d.emails, d.component); | 47 return new Ownership(d.emails, d.component); |
48 } | 48 } |
49 } | 49 } |
50 | 50 |
51 return { Ownership }; | 51 tr.v.d.Diagnostic.register(Ownership); |
| 52 |
| 53 return { |
| 54 Ownership, |
| 55 }; |
52 }); | 56 }); |
53 </script> | 57 </script> |
OLD | NEW |