Include pointScaleFactor into the equality method of LayoutMetrics

Summary:
Previously the pointScaleFactor field was not being compared properly in LayoutMetrics equality method.
This diff fixes that

Reviewed By: shergin

Differential Revision: D15303555

fbshipit-source-id: 8863e9e1fbad15b43400afc32b97bf6d252cbe55
This commit is contained in:
David Vacca
2019-05-10 16:26:40 -07:00
committed by Facebook Github Bot
parent 184073813e
commit ac9195a506

View File

@@ -45,7 +45,7 @@ struct LayoutMetrics {
rhs.borderWidth,
rhs.displayType,
rhs.layoutDirection,
this->pointScaleFactor);
rhs.pointScaleFactor);
}
bool operator!=(const LayoutMetrics &rhs) const {