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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutPart.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/core/layout/LayoutPart.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutPart.cpp b/third_party/WebKit/Source/core/layout/LayoutPart.cpp
index a1ad4e07dff9cdc65c473d00ebd20ba63bbdb751..5d6eba670021a0f748936b87d77727d6d6c3b0a4 100644
--- a/third_party/WebKit/Source/core/layout/LayoutPart.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutPart.cpp
@@ -242,7 +242,7 @@ void LayoutPart::styleDidChange(StyleDifference diff,
if (widget && widget->isFrameView())
toFrameView(widget)->recalculateCustomScrollbarStyle();
- if (style()->visibility() != EVisibility::Visible) {
+ if (style()->visibility() != EVisibility::kVisible) {
widget->hide();
} else {
widget->show();
@@ -296,7 +296,7 @@ void LayoutPart::updateOnWidgetChange() {
if (!needsLayout())
updateWidgetGeometryInternal();
- if (style()->visibility() != EVisibility::Visible) {
+ if (style()->visibility() != EVisibility::kVisible) {
widget->hide();
} else {
widget->show();
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutObject.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutReplaced.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698