mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Fix layoutTime calculation
Summary: LayoutTime calculation is also trivially wrong. Quick fix. Reviewed By: shergin Differential Revision: D15725167 fbshipit-source-id: b06672b9df9cbaa6c54aa97a4c0b58a43f70d5b2
This commit is contained in:
committed by
Facebook Github Bot
parent
3312146ced
commit
e5c96a85fc
@@ -47,7 +47,7 @@ int64_t MountingTelemetry::getCommitTime() const {
|
||||
int64_t MountingTelemetry::getLayoutTime() const {
|
||||
assert(layoutStartTime_ != kUndefinedTime);
|
||||
assert(layoutEndTime_ != kUndefinedTime);
|
||||
return layoutEndTime_ - layoutEndTime_;
|
||||
return layoutEndTime_ - layoutStartTime_;
|
||||
}
|
||||
|
||||
int64_t MountingTelemetry::getCommitStartTime() const {
|
||||
|
||||
Reference in New Issue
Block a user