| Index: content/browser/browser_plugin/browser_plugin_embedder.cc
|
| diff --git a/content/browser/browser_plugin/browser_plugin_embedder.cc b/content/browser/browser_plugin/browser_plugin_embedder.cc
|
| index d8a78566c59ead9cebd710705b6afe88d6e355bc..00b85a803c443066fb98a0763645f5b59423f85d 100644
|
| --- a/content/browser/browser_plugin/browser_plugin_embedder.cc
|
| +++ b/content/browser/browser_plugin/browser_plugin_embedder.cc
|
| @@ -95,8 +95,17 @@ void BrowserPluginEmbedder::NavigateGuest(RenderViewHost* render_view_host,
|
| guest->set_embedder_render_process_host(
|
| render_view_host->GetProcess());
|
|
|
| - guest_web_contents->GetMutableRendererPrefs()->
|
| - throttle_input_events = false;
|
| + RendererPreferences* guest_renderer_prefs =
|
| + guest_web_contents->GetMutableRendererPrefs();
|
| + // Copy renderer preferences (and nothing else) from the embedder's
|
| + // TabContents to the guest.
|
| + //
|
| + // For GTK and Aura this is necessary to get proper renderer configuration
|
| + // values for caret blinking interval, colors related to selection and
|
| + // focus.
|
| + *guest_renderer_prefs = *web_contents()->GetMutableRendererPrefs();
|
| +
|
| + guest_renderer_prefs->throttle_input_events = false;
|
| AddGuest(instance_id, guest_web_contents);
|
| guest_web_contents->SetDelegate(guest);
|
| } else {
|
|
|