Index: third_party/WebKit/Source/core/layout/LayoutBox.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutBox.cpp b/third_party/WebKit/Source/core/layout/LayoutBox.cpp |
index 78eca2d86f8337920eaf26036524d39d37768599..dd78162503e9b5da7c2ea2d8230c7823de704ad8 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutBox.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutBox.cpp |
@@ -807,7 +807,7 @@ bool LayoutBox::canBeProgramaticallyScrolled() const |
if (scrollsOverflow() && hasScrollableOverflow) |
return true; |
- return node && node->hasEditableStyle(); |
+ return node && hasEditableStyle(*node); |
} |
void LayoutBox::autoscroll(const IntPoint& positionInRootFrame) |