Commit cb9bc8f1 authored by Morten Stenshorne's avatar Morten Stenshorne Committed by Commit Bot

Remove HorizontalAlignment enum from graphics_types.h

It's unused, and its values kAlignLeft and kAlignRight were conflicting
with values in the CaretAlignment enum inside
LayoutBoxModelObject::LocalCaretRectForEmptyElement() when compiling
with -Wshadow

Bug: 294205
Change-Id: Iaf89021bbb79aa4e46539284c3db5ba2d2844367
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2455688Reviewed-by: default avatarChris Harrelson <chrishtr@chromium.org>
Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/master@{#814753}
parent 65334ee2
......@@ -162,8 +162,6 @@ enum LineJoin {
kBevelJoin = SkPaint::kBevel_Join
};
enum HorizontalAlignment { kAlignLeft, kAlignRight, kAlignHCenter };
enum TextBaseline {
kAlphabeticTextBaseline,
kTopTextBaseline,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment