Index: Source/core/html/HTMLAppletElement.cpp |
diff --git a/Source/core/html/HTMLAppletElement.cpp b/Source/core/html/HTMLAppletElement.cpp |
index eb955365b27074cb447797d1c29c64c09352641a..53ed03d7854ae554de0b4f3745d15a0f79bbd137 100644 |
--- a/Source/core/html/HTMLAppletElement.cpp |
+++ b/Source/core/html/HTMLAppletElement.cpp |
@@ -183,8 +183,8 @@ void HTMLAppletElement::updateWidgetInternal() |
paramValues.append(param->value()); |
} |
- OwnPtrWillBeRawPtr<PluginPlaceholder> placeholder; |
- RefPtr<Widget> widget; |
+ OwnPtrWillBeRawPtr<PluginPlaceholder> placeholder = nullptr; |
+ RefPtrWillBeRawPtr<Widget> widget = nullptr; |
if (frame->loader().allowPlugins(AboutToInstantiatePlugin)) { |
placeholder = frame->loader().client()->createPluginPlaceholder(document(), KURL(), paramNames, paramValues, m_serviceType, false); |
if (!placeholder) |