| Index: third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutObject.cpp b/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| index d2a508f42f5dfed164799736883fbe6cfdc30402..507c6e6e68cf42977226c2c26c0f1f6f39e08163 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| @@ -326,7 +326,7 @@ void LayoutObject::addChild(LayoutObject* newChild, LayoutObject* beforeChild) {
|
| }
|
|
|
| if (newChild->isText() &&
|
| - newChild->style()->textTransform() == ETextTransform::Capitalize)
|
| + newChild->style()->textTransform() == ETextTransform::kCapitalize)
|
| toLayoutText(newChild)->transformText();
|
|
|
| // SVG creates layoutObjects for <g display="none">, as SVG requires children
|
| @@ -2680,8 +2680,8 @@ void LayoutObject::insertedIntoTree() {
|
| // If |this| is visible but this object was not, tell the layer it has some
|
| // visible content that needs to be drawn and layer visibility optimization
|
| // can't be used
|
| - if (parent()->style()->visibility() != EVisibility::Visible &&
|
| - style()->visibility() == EVisibility::Visible && !hasLayer()) {
|
| + if (parent()->style()->visibility() != EVisibility::kVisible &&
|
| + style()->visibility() == EVisibility::kVisible && !hasLayer()) {
|
| if (!layer)
|
| layer = parent()->enclosingLayer();
|
| if (layer)
|
| @@ -2739,8 +2739,8 @@ void LayoutObject::willBeRemovedFromTree() {
|
| // If we remove a visible child from an invisible parent, we don't know the
|
| // layer visibility any more.
|
| PaintLayer* layer = nullptr;
|
| - if (parent()->style()->visibility() != EVisibility::Visible &&
|
| - style()->visibility() == EVisibility::Visible && !hasLayer()) {
|
| + if (parent()->style()->visibility() != EVisibility::kVisible &&
|
| + style()->visibility() == EVisibility::kVisible && !hasLayer()) {
|
| layer = parent()->enclosingLayer();
|
| if (layer)
|
| layer->dirtyVisibleContentStatus();
|
| @@ -3120,7 +3120,7 @@ LayoutObject::getUncachedPseudoStyleFromParentOrShadowHost() const {
|
|
|
| void LayoutObject::addAnnotatedRegions(Vector<AnnotatedRegionValue>& regions) {
|
| // Convert the style regions to absolute coordinates.
|
| - if (style()->visibility() != EVisibility::Visible || !isBox())
|
| + if (style()->visibility() != EVisibility::kVisible || !isBox())
|
| return;
|
|
|
| if (style()->getDraggableRegionMode() == DraggableRegionNone)
|
| @@ -3139,7 +3139,7 @@ void LayoutObject::addAnnotatedRegions(Vector<AnnotatedRegionValue>& regions) {
|
| bool LayoutObject::willRenderImage() {
|
| // Without visibility we won't render (and therefore don't care about
|
| // animation).
|
| - if (style()->visibility() != EVisibility::Visible)
|
| + if (style()->visibility() != EVisibility::kVisible)
|
| return false;
|
|
|
| // We will not render a new image when SuspendableObjects is suspended
|
|
|