Index: Source/core/rendering/svg/SVGInlineTextBox.cpp |
diff --git a/Source/core/rendering/svg/SVGInlineTextBox.cpp b/Source/core/rendering/svg/SVGInlineTextBox.cpp |
index f8e6350717b59862a14fa0831c83d64691201d0a..5ea69051de15035537c8ddfd9d25523f9521e3f2 100644 |
--- a/Source/core/rendering/svg/SVGInlineTextBox.cpp |
+++ b/Source/core/rendering/svg/SVGInlineTextBox.cpp |
@@ -25,7 +25,6 @@ |
#include "core/dom/DocumentMarkerController.h" |
#include "core/dom/RenderedDocumentMarker.h" |
#include "core/editing/Editor.h" |
-#include "core/frame/FrameView.h" |
#include "core/frame/LocalFrame.h" |
#include "core/paint/InlinePainter.h" |
#include "core/rendering/HitTestResult.h" |
@@ -285,7 +284,7 @@ void SVGInlineTextBox::paint(PaintInfo& paintInfo, const LayoutPoint& paintOffse |
} |
} |
- if (textRenderer.frame() && textRenderer.frame()->view() && textRenderer.frame()->view()->paintBehavior() & PaintBehaviorRenderingSVGMask) { |
+ if (SVGRenderSupport::isRenderingMaskImage(textRenderer)) { |
hasFill = true; |
hasVisibleStroke = false; |
} |