Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(13)

Unified Diff: third_party/WebKit/Source/modules/accessibility/AXObject.cpp

Issue 2614883007: Change computed style enums to be prefixed with 'k'. (Closed)
Patch Set: Rebase on ToT. Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/accessibility/AXObject.cpp
diff --git a/third_party/WebKit/Source/modules/accessibility/AXObject.cpp b/third_party/WebKit/Source/modules/accessibility/AXObject.cpp
index 4371c9095bbbdb61c2866a76039f1cd1638a0751..f61d69ce03bd431356d8e5c226e3c5a28a97a5dd 100644
--- a/third_party/WebKit/Source/modules/accessibility/AXObject.cpp
+++ b/third_party/WebKit/Source/modules/accessibility/AXObject.cpp
@@ -709,7 +709,7 @@ bool AXObject::isHiddenForTextAlternativeCalculation() const {
return false;
if (getLayoutObject())
- return getLayoutObject()->style()->visibility() != EVisibility::Visible;
+ return getLayoutObject()->style()->visibility() != EVisibility::kVisible;
// This is an obscure corner case: if a node has no LayoutObject, that means
// it's not rendered, but we still may be exploring it as part of a text
@@ -722,7 +722,7 @@ bool AXObject::isHiddenForTextAlternativeCalculation() const {
RefPtr<ComputedStyle> style =
doc->ensureStyleResolver().styleForElement(toElement(getNode()));
return style->display() == EDisplay::None ||
- style->visibility() != EVisibility::Visible;
+ style->visibility() != EVisibility::kVisible;
}
return false;

Powered by Google App Engine
This is Rietveld 408576698