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 1f21842a6d66d3153e40e7fd2ee1610ab1d9e87c..3a0a69aeb3089905e461922c7d7883ceb8712095 100644 |
--- a/content/renderer/pepper/pepper_plugin_instance_impl.h |
+++ b/content/renderer/pepper/pepper_plugin_instance_impl.h |
@@ -719,10 +719,10 @@ class CONTENT_EXPORT PepperPluginInstanceImpl |
bool layer_is_hardware_; |
// Plugin URL. |
- GURL plugin_url_; |
+ const GURL plugin_url_; |
// Used to track Flash-specific metrics. |
- bool is_flash_plugin_; |
+ const bool is_flash_plugin_; |
// Set to true the first time the plugin is clicked. Used to collect metrics. |
bool has_been_clicked_; |
@@ -924,6 +924,8 @@ class CONTENT_EXPORT PepperPluginInstanceImpl |
bool is_tracking_latency_; |
+ bool initialized_; |
+ |
// We use a weak ptr factory for scheduling DidChangeView events so that we |
// can tell whether updates are pending and consolidate them. When there's |
// already a weak ptr pending (HasWeakPtrs is true), code should update the |