Remove DEFINE_TYPE_CASTS use from text_event.h

Bug: 891908
Change-Id: I0c9842f44a344337f6b71a579f1f0b9d4d45009e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1529490
Reviewed-by: Kentaro Hara <haraken@chromium.org>
Commit-Queue: Abhijeet Kandalkar <abhijeet@igalia.com>
Cr-Commit-Position: refs/heads/master@{#642384}
3 files changed