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

Make WebMeaningfulLayout an enum class.

Compiling with -Wshadow showed that one of the values conflicted with
Document::ParsingState

Bug: 294205
Change-Id: I4f932767d1962e7615acfefa5af76ba554aabaa7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2461009Reviewed-by: default avatarChris Harrelson <chrishtr@chromium.org>
Reviewed-by: default avatarMichael Bai <michaelbai@chromium.org>
Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/master@{#815191}
parent f9780e1f
......@@ -15,7 +15,6 @@
#include "url/origin.h"
namespace blink {
enum WebMeaningfulLayout;
class WebFrameWidget;
class WebView;
}
......
......@@ -7,7 +7,7 @@
namespace blink {
enum WebMeaningfulLayout {
enum class WebMeaningfulLayout {
// Signifies that one of the following things were involved during the layout:
// * > 200 text characters
// * > 1024 image pixels
......
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