Index: third_party/WebKit/Source/core/html/HTMLEmbedElement.cpp |
diff --git a/third_party/WebKit/Source/core/html/HTMLEmbedElement.cpp b/third_party/WebKit/Source/core/html/HTMLEmbedElement.cpp |
index dfb698dacd38e11963dcac100fb43ce12cac9db6..e2e5e8f988e77e32d6d938beb39aacb465f448fd 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLEmbedElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLEmbedElement.cpp |
@@ -92,7 +92,7 @@ void HTMLEmbedElement::parseAttribute(const QualifiedName& name, const AtomicStr |
size_t pos = m_serviceType.find(";"); |
if (pos != kNotFound) |
m_serviceType = m_serviceType.left(pos); |
- if (layoutObject()) { |
+ if (hasLayoutObject()) { |
setNeedsWidgetUpdate(true); |
layoutObject()->setNeedsLayoutAndFullPaintInvalidation("Embed type changed"); |
} else { |