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 29625e4a049ad9d5f3e9ebfd89b88307133d92e3..f3e9a434eecfe3fe63f0f137b516a532418b2792 100644 |
--- a/content/renderer/pepper/pepper_plugin_instance_impl.cc |
+++ b/content/renderer/pepper/pepper_plugin_instance_impl.cc |
@@ -2133,6 +2133,11 @@ bool PepperPluginInstanceImpl::PrepareTextureMailbox( |
void PepperPluginInstanceImpl::OnDestruct() { render_frame_ = NULL; } |
+void PepperPluginInstanceImpl::AccessibilityModeChanged() { |
raymes
2016/06/28 00:02:12
nit: this should go before OnDestruct
dmazzoni
2016/06/28 17:14:06
Done.
|
+ if (render_frame_->render_accessibility() && LoadPdfInterface()) |
+ plugin_pdf_interface_->EnableAccessibility(pp_instance()); |
+} |
+ |
void PepperPluginInstanceImpl::OnThrottleStateChange() { |
SendDidChangeView(); |