| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 Google Inc. All rights reserved. |
| 3 * Copyright (C) 2012 Intel Inc. All rights reserved. | 3 * Copyright (C) 2012 Intel Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions are | 6 * modification, are permitted provided that the following conditions are |
| 7 * met: | 7 * met: |
| 8 * | 8 * |
| 9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 459 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 470 { | 470 { |
| 471 return this._record.endTime(); | 471 return this._record.endTime(); |
| 472 }, | 472 }, |
| 473 | 473 |
| 474 /** | 474 /** |
| 475 * @override | 475 * @override |
| 476 * @return {number} | 476 * @return {number} |
| 477 */ | 477 */ |
| 478 selfTime: function() | 478 selfTime: function() |
| 479 { | 479 { |
| 480 return this._record.selfTime(); | 480 return this._record.traceEvent().selfTime; |
| 481 }, | 481 }, |
| 482 | 482 |
| 483 /** | 483 /** |
| 484 * @override | 484 * @override |
| 485 * @return {!WebInspector.TimelineModel.Record} | 485 * @return {!WebInspector.TimelineModel.Record} |
| 486 */ | 486 */ |
| 487 record: function() | 487 record: function() |
| 488 { | 488 { |
| 489 return this._record; | 489 return this._record; |
| 490 }, | 490 }, |
| 491 | 491 |
| 492 /** | 492 /** |
| 493 * @override | 493 * @override |
| 494 * @return {boolean} | 494 * @return {boolean} |
| 495 */ | 495 */ |
| 496 hasWarnings: function() | 496 hasWarnings: function() |
| 497 { | 497 { |
| 498 return !!this._record.warnings(); | 498 return !!this._record.traceEvent().warning; |
| 499 }, | 499 }, |
| 500 | 500 |
| 501 __proto__: WebInspector.TimelinePresentationModel.Record.prototype | 501 __proto__: WebInspector.TimelinePresentationModel.Record.prototype |
| 502 } | 502 } |
| 503 | 503 |
| 504 /** | 504 /** |
| 505 * @constructor | 505 * @constructor |
| 506 * @extends {WebInspector.TimelinePresentationModel.Record} | 506 * @extends {WebInspector.TimelinePresentationModel.Record} |
| 507 * @param {!WebInspector.TimelineModel.Record} record | 507 * @param {!WebInspector.TimelineModel.Record} record |
| 508 */ | 508 */ |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 585 * @override | 585 * @override |
| 586 * @return {boolean} | 586 * @return {boolean} |
| 587 */ | 587 */ |
| 588 hasWarnings: function() | 588 hasWarnings: function() |
| 589 { | 589 { |
| 590 return false; | 590 return false; |
| 591 }, | 591 }, |
| 592 | 592 |
| 593 __proto__: WebInspector.TimelinePresentationModel.Record.prototype | 593 __proto__: WebInspector.TimelinePresentationModel.Record.prototype |
| 594 } | 594 } |
| OLD | NEW |