Index: Source/core/rendering/RenderEmbeddedObject.cpp |
diff --git a/Source/core/rendering/RenderEmbeddedObject.cpp b/Source/core/rendering/RenderEmbeddedObject.cpp |
index 163e95f29409f99250ea24b04b1b2442bd9041cc..f93f9cca8003e967a4e5dd049c9f0068b2a2c82e 100644 |
--- a/Source/core/rendering/RenderEmbeddedObject.cpp |
+++ b/Source/core/rendering/RenderEmbeddedObject.cpp |
@@ -176,7 +176,7 @@ bool RenderEmbeddedObject::getReplacementTextGeometry(const LayoutPoint& accumul |
return false; |
fontDescription.setComputedSize(fontDescription.specifiedSize()); |
font = Font(fontDescription); |
- font.update(0); |
+ font.update(nullptr); |
run = TextRun(m_unavailablePluginReplacementText); |
textWidth = font.width(run); |