Index: content/browser/gpu/gpu_data_manager_impl_private.h |
diff --git a/content/browser/gpu/gpu_data_manager_impl_private.h b/content/browser/gpu/gpu_data_manager_impl_private.h |
index 8766b4d55514305447bb7bb649bf51e0ba2f3cfe..887703b9356dae00902d0fc209c89ccccbcf270e 100644 |
--- a/content/browser/gpu/gpu_data_manager_impl_private.h |
+++ b/content/browser/gpu/gpu_data_manager_impl_private.h |
@@ -265,11 +265,18 @@ class CONTENT_EXPORT GpuDataManagerImplPrivate { |
bool gpu_process_accessible_; |
+ // True if Initialize() has been completed. |
+ bool is_initialized_; |
+ |
// True if all future Initialize calls should be ignored. |
bool finalized_; |
std::string disabled_extensions_; |
+ // If one tries to call a member before initialization then it is defered |
+ // until Initialize() is completed. |
+ std::vector<base::Closure> post_init_tasks_; |
+ |
DISALLOW_COPY_AND_ASSIGN(GpuDataManagerImplPrivate); |
}; |