| Index: Source/core/rendering/InlineFlowBox.cpp
|
| diff --git a/Source/core/rendering/InlineFlowBox.cpp b/Source/core/rendering/InlineFlowBox.cpp
|
| index 089b2c5cf0d37a8ca452e33e668939a2cc890b8d..f33c69ee0755ba27945102b79d5bcf662260f0d7 100644
|
| --- a/Source/core/rendering/InlineFlowBox.cpp
|
| +++ b/Source/core/rendering/InlineFlowBox.cpp
|
| @@ -1040,7 +1040,7 @@ bool InlineFlowBox::nodeAtPoint(const HitTestRequest& request, HitTestResult& re
|
| LayoutUnit height = frameRect.height();
|
|
|
| // Constrain our hit testing to the line top and bottom if necessary.
|
| - bool noQuirksMode = renderer()->document()->inNoQuirksMode();
|
| + bool noQuirksMode = renderer()->document().inNoQuirksMode();
|
| if (!noQuirksMode && !hasTextChildren() && !(descendantsHaveSameLineHeightAndBaseline() && hasTextDescendants())) {
|
| RootInlineBox* rootBox = root();
|
| LayoutUnit& top = isHorizontal() ? minY : minX;
|
| @@ -1208,7 +1208,7 @@ void InlineFlowBox::paintBoxShadow(const PaintInfo& info, RenderStyle* s, Shadow
|
|
|
| void InlineFlowBox::constrainToLineTopAndBottomIfNeeded(LayoutRect& rect) const
|
| {
|
| - bool noQuirksMode = renderer()->document()->inNoQuirksMode();
|
| + bool noQuirksMode = renderer()->document().inNoQuirksMode();
|
| if (!noQuirksMode && !hasTextChildren() && !(descendantsHaveSameLineHeightAndBaseline() && hasTextDescendants())) {
|
| const RootInlineBox* rootBox = root();
|
| LayoutUnit logicalTop = isHorizontal() ? rect.y() : rect.x();
|
|
|