Index: ui/base/resource/resource_bundle.h |
diff --git a/ui/base/resource/resource_bundle.h b/ui/base/resource/resource_bundle.h |
index 12e9ccfc1fb34ce36174e3ac17cf4ca8b0ba1332..49d5ab75aeda994bbaaea67701b1d4e4b48d186f 100644 |
--- a/ui/base/resource/resource_bundle.h |
+++ b/ui/base/resource/resource_bundle.h |
@@ -17,6 +17,7 @@ |
#include "base/files/memory_mapped_file.h" |
#include "base/gtest_prod_util.h" |
#include "base/macros.h" |
+#include "base/sequence_checker.h" |
#include "base/strings/string16.h" |
#include "base/strings/string_piece.h" |
#include "build/build_config.h" |
@@ -393,9 +394,6 @@ class UI_BASE_EXPORT ResourceBundle { |
// be NULL. |
Delegate* delegate_; |
- // Protects |images_| and font-related members. |
- std::unique_ptr<base::Lock> images_and_fonts_lock_; |
- |
// Protects |locale_resources_data_|. |
std::unique_ptr<base::Lock> locale_resources_data_lock_; |
@@ -425,6 +423,8 @@ class UI_BASE_EXPORT ResourceBundle { |
bool is_test_resources_ = false; |
+ base::SequenceChecker sequence_checker_; |
+ |
DISALLOW_COPY_AND_ASSIGN(ResourceBundle); |
}; |