| Index: Source/web/WebPluginDocument.cpp
|
| diff --git a/Source/web/WebPluginDocument.cpp b/Source/web/WebPluginDocument.cpp
|
| index 7bf547dd405535a2e6e25f7c76ae52a3df07a800..c0ee65be4c4b79cb7dcb863125f1d2049147b73e 100644
|
| --- a/Source/web/WebPluginDocument.cpp
|
| +++ b/Source/web/WebPluginDocument.cpp
|
| @@ -49,7 +49,7 @@ WebPlugin* WebPluginDocument::plugin()
|
| return 0;
|
| PluginDocument* doc = unwrap<PluginDocument>();
|
| WebPluginContainerImpl* container = toWebPluginContainerImpl(doc->pluginWidget());
|
| - return container->plugin();
|
| + return container ? container->plugin() : 0;
|
| }
|
|
|
|
|
|
|