Index: ui/base/resource/resource_bundle.cc |
diff --git a/ui/base/resource/resource_bundle.cc b/ui/base/resource/resource_bundle.cc |
index 0e973f84d0185d25cfc98e7ec392063a3c0db556..07e08ebfab0661aed2271cb281030a9c3ef23bbb 100644 |
--- a/ui/base/resource/resource_bundle.cc |
+++ b/ui/base/resource/resource_bundle.cc |
@@ -115,6 +115,11 @@ void ResourceBundle::CleanupSharedInstance() { |
} |
/* static */ |
+bool ResourceBundle::HasSharedInstance() { |
+ return g_shared_instance_ != NULL; |
+} |
+ |
+/* static */ |
ResourceBundle& ResourceBundle::GetSharedInstance() { |
// Must call InitSharedInstance before this function. |
CHECK(g_shared_instance_ != NULL); |