Index: third_party/WebKit/Source/core/layout/TextAutosizer.cpp |
diff --git a/third_party/WebKit/Source/core/layout/TextAutosizer.cpp b/third_party/WebKit/Source/core/layout/TextAutosizer.cpp |
index 15110782489f22adff81f2c13ca06e1945b8edfa..02aa2ecebfee008d8c1f002e5d6484bb8d5d992e 100644 |
--- a/third_party/WebKit/Source/core/layout/TextAutosizer.cpp |
+++ b/third_party/WebKit/Source/core/layout/TextAutosizer.cpp |
@@ -522,7 +522,7 @@ void TextAutosizer::updatePageInfo() |
m_pageInfo.m_pageNeedsAutosizing = false; |
} else { |
LayoutView* layoutView = m_document->layoutView(); |
- bool horizontalWritingMode = isHorizontalWritingMode(layoutView->style()->writingMode()); |
+ bool horizontalWritingMode = isHorizontalWritingMode(layoutView->style()->getWritingMode()); |
// FIXME: With out-of-process iframes, the top frame can be remote and |
// doesn't have sizing information. Just return if this is the case. |