| Index: webkit/plugins/npapi/webplugin_impl.cc
|
| diff --git a/webkit/plugins/npapi/webplugin_impl.cc b/webkit/plugins/npapi/webplugin_impl.cc
|
| index a8b9672ffaf33c554acf329e3827aa82fecec8cc..702e373ca5f932b750cf0d4ddc81906b3dd09b94 100644
|
| --- a/webkit/plugins/npapi/webplugin_impl.cc
|
| +++ b/webkit/plugins/npapi/webplugin_impl.cc
|
| @@ -347,9 +347,9 @@ void WebPluginImpl::updateGeometry(
|
| }
|
|
|
| // Only UpdateGeometry if either the window or clip rects have changed.
|
| - if (first_geometry_update_ ||
|
| + if (delegate_ && (first_geometry_update_ ||
|
| new_geometry.window_rect != geometry_.window_rect ||
|
| - new_geometry.clip_rect != geometry_.clip_rect) {
|
| + new_geometry.clip_rect != geometry_.clip_rect)) {
|
| // Notify the plugin that its parameters have changed.
|
| delegate_->UpdateGeometry(new_geometry.window_rect, new_geometry.clip_rect);
|
| }
|
|
|