Introduce PrintableSkColor
PrintableSkColor transforms the test error output from... original Which is: 4293454573 to original Which is: SkColorARGB(0xff, 0xe8, 0xea, 0xed) Because SkColor is type aliased to uint32_t, a simple overload of operator<< will not pick it up, requiring a type container to trigger the overload. BUG= Change-Id: I56217ca8e166441f7fca0a257b7f5591469729d0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2116894 Commit-Queue: Robert Liao <robliao@chromium.org> Auto-Submit: Robert Liao <robliao@chromium.org> Reviewed-by:Peter Kasting <pkasting@chromium.org> Cr-Commit-Position: refs/heads/master@{#752632}
Showing
Please register or sign in to comment