| Index: content/renderer/pepper/pepper_plugin_instance_impl.cc
|
| diff --git a/content/renderer/pepper/pepper_plugin_instance_impl.cc b/content/renderer/pepper/pepper_plugin_instance_impl.cc
|
| index 6819528357b5d6520c07f28bb1916ac008cd3d34..fd28344c35876258aac71171428f57be4db739f9 100644
|
| --- a/content/renderer/pepper/pepper_plugin_instance_impl.cc
|
| +++ b/content/renderer/pepper/pepper_plugin_instance_impl.cc
|
| @@ -1460,12 +1460,13 @@ bool PepperPluginInstanceImpl::StartFind(const base::string16& search_text,
|
| PP_FromBool(case_sensitive)));
|
| }
|
|
|
| -void PepperPluginInstanceImpl::SelectFindResult(bool forward) {
|
| +void PepperPluginInstanceImpl::SelectFindResult(bool forward, int identifier) {
|
| // Keep a reference on the stack. See NOTE above.
|
| scoped_refptr<PepperPluginInstanceImpl> ref(this);
|
| - if (LoadFindInterface())
|
| - plugin_find_interface_->SelectFindResult(pp_instance(),
|
| - PP_FromBool(forward));
|
| + if (!LoadFindInterface())
|
| + return;
|
| + find_identifier_ = identifier;
|
| + plugin_find_interface_->SelectFindResult(pp_instance(), PP_FromBool(forward));
|
| }
|
|
|
| void PepperPluginInstanceImpl::StopFind() {
|
|
|