Index: Source/core/editing/VisibleUnits.cpp |
diff --git a/Source/core/editing/VisibleUnits.cpp b/Source/core/editing/VisibleUnits.cpp |
index c1cf7fec9f8dda59f20bc8bdec85f6a7599a8905..6b800aed04af2be5ce8c75e40178e425bde8a0f4 100644 |
--- a/Source/core/editing/VisibleUnits.cpp |
+++ b/Source/core/editing/VisibleUnits.cpp |
@@ -1115,7 +1115,7 @@ VisiblePosition startOfParagraph(const VisiblePosition& c, EditingBoundaryCrossi |
n = NodeTraversal::previousPostOrder(*n, startBlock); |
continue; |
} |
- const LayoutStyle& style = r->styleRef(); |
+ const ComputedStyle& style = r->styleRef(); |
if (style.visibility() != VISIBLE) { |
n = NodeTraversal::previousPostOrder(*n, startBlock); |
continue; |
@@ -1194,7 +1194,7 @@ VisiblePosition endOfParagraph(const VisiblePosition &c, EditingBoundaryCrossing |
n = NodeTraversal::next(*n, stayInsideBlock); |
continue; |
} |
- const LayoutStyle& style = r->styleRef(); |
+ const ComputedStyle& style = r->styleRef(); |
if (style.visibility() != VISIBLE) { |
n = NodeTraversal::next(*n, stayInsideBlock); |
continue; |