| Index: third_party/WebKit/Source/core/paint/PartPainter.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/PartPainter.cpp b/third_party/WebKit/Source/core/paint/PartPainter.cpp
|
| index 15736e971c50a412b603685a60486dde7eba23f7..79637ef05808a5dee781ce4ad040170f7405a4ce 100644
|
| --- a/third_party/WebKit/Source/core/paint/PartPainter.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/PartPainter.cpp
|
| @@ -74,6 +74,7 @@ void PartPainter::paint(const PaintInfo& paintInfo,
|
| // the crashes we see in FrameViewBase painting are due to a destroyed
|
| // LayoutPart object.
|
| CHECK(m_layoutPart.node());
|
| + CHECK(!m_layoutPart.frameViewBase()->isPluginView());
|
| Optional<RoundedInnerRectClipper> clipper;
|
| if (m_layoutPart.style()->hasBorderRadius()) {
|
| if (borderRect.isEmpty())
|
| @@ -120,6 +121,7 @@ void PartPainter::paintContents(const PaintInfo& paintInfo,
|
|
|
| FrameViewBase* frameViewBase = m_layoutPart.frameViewBase();
|
| CHECK(frameViewBase);
|
| + CHECK(!frameViewBase->isPluginView());
|
|
|
| IntPoint paintLocation(roundedIntPoint(
|
| adjustedPaintOffset + m_layoutPart.replacedContentRect().location()));
|
|
|