Index: content/renderer/pepper/pepper_plugin_instance_impl.h |
diff --git a/content/renderer/pepper/pepper_plugin_instance_impl.h b/content/renderer/pepper/pepper_plugin_instance_impl.h |
index ea2141878633f7abaccd00afd3da1e5f379ab69e..ee66136bd4a0d76f24573849ca4ffe006c654f75 100644 |
--- a/content/renderer/pepper/pepper_plugin_instance_impl.h |
+++ b/content/renderer/pepper/pepper_plugin_instance_impl.h |
@@ -635,7 +635,10 @@ class CONTENT_EXPORT PepperPluginInstanceImpl |
// - we are not in Flash full-screen mode (or transitioning to it) |
// Otherwise it destroys the layer. |
// It does either operation lazily. |
- void UpdateLayer(); |
+ // device_changed: true if the bound device has been changed, and |
+ // UpdateLayer() will be forced to recreate the layer and attaches to the |
+ // container. |
+ void UpdateLayer(bool device_changed); |
// Internal helper function for PrintPage(). |
bool PrintPageHelper(PP_PrintPageNumberRange_Dev* page_ranges, |