Chromium Code Reviews| Index: content/renderer/pepper_plugin_delegate_impl.cc |
| =================================================================== |
| --- content/renderer/pepper_plugin_delegate_impl.cc (revision 97671) |
| +++ content/renderer/pepper_plugin_delegate_impl.cc (working copy) |
| @@ -1422,11 +1422,6 @@ |
| render_view_->routing_id(), restrictions)); |
| } |
| -void PepperPluginDelegateImpl::HasUnsupportedFeature() { |
| - render_view_->Send(new ViewHostMsg_PDFHasUnsupportedFeature( |
| - render_view_->routing_id())); |
| -} |
| - |
| void PepperPluginDelegateImpl::SaveURLAs(const GURL& url) { |
| render_view_->Send(new ViewHostMsg_SaveURLAs( |
| render_view_->routing_id(), url)); |
| @@ -1477,6 +1472,10 @@ |
| return ppapi::Preferences(render_view_->webkit_preferences()); |
| } |
| +int PepperPluginDelegateImpl::GetRenderViewRoutingId() const { |
| + return render_view_ ? render_view_->routing_id() : 0; |
|
jam
2011/08/23 02:44:30
are you sure you need to handle the NULL render_vi
ananta
2011/08/23 18:14:03
Removed the NULL check
|
| +} |
| + |
| void PepperPluginDelegateImpl::PublishInitialPolicy( |
| scoped_refptr<webkit::ppapi::PluginInstance> instance, |
| const std::string& policy) { |