| Index: third_party/WebKit/Source/core/paint/ObjectPainter.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/ObjectPainter.cpp b/third_party/WebKit/Source/core/paint/ObjectPainter.cpp
|
| index 1e8fdea6ebf09a7a26a567af518c918aa30a87ac..eb6ddfcc3de5c31d23949ae00d2d73a0342fea5c 100644
|
| --- a/third_party/WebKit/Source/core/paint/ObjectPainter.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/ObjectPainter.cpp
|
| @@ -699,15 +699,6 @@ void ObjectPainter::doCheckPaintOffset(const PaintInfo& paintInfo,
|
| const LayoutPoint& paintOffset) {
|
| DCHECK(RuntimeEnabledFeatures::slimmingPaintV2Enabled());
|
|
|
| - // TODO(pdr,wangxianzhu): Refactor to avoid the special treatment for SVGText,
|
| - // SVGInline, SVGInlineText and SVGForeignObject.
|
| - if (m_layoutObject.isSVG() && !m_layoutObject.isSVGRoot() &&
|
| - !m_layoutObject.isSVGForeignObject()) {
|
| - if (!m_layoutObject.isSVGInline() && !m_layoutObject.isSVGInlineText())
|
| - DCHECK(paintOffset == LayoutPoint());
|
| - return;
|
| - }
|
| -
|
| // TODO(pdr): Let painter and paint property tree builder generate the same
|
| // paint offset for LayoutScrollbarPart. crbug.com/664249.
|
| if (m_layoutObject.isLayoutScrollbarPart())
|
|
|