| Index: third_party/WebKit/Source/web/RotationViewportAnchor.cpp
|
| diff --git a/third_party/WebKit/Source/web/RotationViewportAnchor.cpp b/third_party/WebKit/Source/web/RotationViewportAnchor.cpp
|
| index 8cf142521e35d86642241abb76f2f14309e8adc9..bd94e0f20b159c741f3f52982c29eecadafd0d1e 100644
|
| --- a/third_party/WebKit/Source/web/RotationViewportAnchor.cpp
|
| +++ b/third_party/WebKit/Source/web/RotationViewportAnchor.cpp
|
| @@ -192,7 +192,7 @@ void RotationViewportAnchor::computeOrigins(const FloatSize& innerSize, IntPoint
|
|
|
| FloatPoint RotationViewportAnchor::getInnerOrigin(const FloatSize& innerSize) const
|
| {
|
| - if (!m_anchorNode || !m_anchorNode->inDocument())
|
| + if (!m_anchorNode || !m_anchorNode->inShadowIncludingDocument())
|
| return m_visualViewportInDocument;
|
|
|
| const LayoutRect currentNodeBounds = m_anchorNode->boundingBox();
|
|
|