Dump LayoutObject directly for LocalCaretRect unit tests
Historically, we can't dump a LayoutObject to ostream, so LocalCaretRect unit tests dump the Node of a LayoutObject instead. Now that we don't have this restriction, this patch changes the tests to dump LayoutObject directly to be more explicit, and also allow dumping null LayoutObjects. Change-Id: I9a63aed186cdea3caf172a44a6001a4a797fc63b Reviewed-on: https://chromium-review.googlesource.com/963709Reviewed-by:Yoshifumi Inoue <yosin@chromium.org> Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org> Cr-Commit-Position: refs/heads/master@{#543626}
Showing
Please register or sign in to comment