Revert "De-SkScalar SkRect"
This reverts commit 807697510bdccddb759d0156cf68808652c61df6.
Reason for revert: Chromium link failures
[8129/36400] SOLINK ./libui_native_theme.cr.so
FAILED: libui_native_theme.cr.so libui_native_theme.cr.so.TOC lib.unstripped/libui_native_theme.cr.so
"python3" "../../build/toolchain/gcc_solink_wrapper.py" --readelf="../../third_party/llvm-build/Rele...(too long)
ld.lld: error: undefined symbol: sk_float_midpoint(float, float)
>>> referenced by native_theme_base.cc
>>> obj/ui/native_theme/native_theme/native_theme_base.o:(SkRect::centerY() const)
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
Original change's description:
> De-SkScalar SkRect
>
> Change SkRect over to using floats instead of SkScalar.
> Introduced sk_float_midpoint to handle some of the
> calculations.
>
> TODO:
> * rename asScalar -> asFloats possibly? Separate CL.
> * what to do with all the scalar string stuff in dump.
>
> Change-Id: I8416f17654d9e73ff094d4c5a42ac2669389ceda
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/714063
> Reviewed-by: Brian Osman <brianosman@google.com>
> Commit-Queue: Herb Derby <herb@google.com>
Change-Id: Ie1718bf9ad140f48e9d83a617bafe118bdc37ac6
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/714298
Auto-Submit: Florin Malita <fmalita@google.com>
Commit-Queue: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
3 files changed