diff options
author | erg@chromium.org <erg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-16 20:30:47 +0000 |
---|---|---|
committer | erg@chromium.org <erg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-16 20:30:47 +0000 |
commit | 4dcbc1b552d96791b13dc3d876868dae3f8ad09d (patch) | |
tree | 82283d5f574dd529990f4a4cf4d5a99e8b2c28b6 /app/resource_bundle_dummy.cc | |
parent | 7e74015beb3489b46150bdfe055f67c9e2a0c475 (diff) | |
download | chromium_src-4dcbc1b552d96791b13dc3d876868dae3f8ad09d.zip chromium_src-4dcbc1b552d96791b13dc3d876868dae3f8ad09d.tar.gz chromium_src-4dcbc1b552d96791b13dc3d876868dae3f8ad09d.tar.bz2 |
Remove lock.h from resource_bundle.h and histogram.h.
Use a scoped_ptr<Lock> instead of Lock in resource bundle.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/3038005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52730 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'app/resource_bundle_dummy.cc')
-rw-r--r-- | app/resource_bundle_dummy.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/resource_bundle_dummy.cc b/app/resource_bundle_dummy.cc index 6baa1a8..f5db317 100644 --- a/app/resource_bundle_dummy.cc +++ b/app/resource_bundle_dummy.cc @@ -6,6 +6,7 @@ #include <windows.h> +#include "base/lock.h" #include "base/logging.h" #include "base/win_util.h" #include "gfx/font.h" @@ -46,7 +47,8 @@ ResourceBundle& ResourceBundle::GetSharedInstance() { } ResourceBundle::ResourceBundle() - : resources_data_(NULL), + : lock_(new Lock), + resources_data_(NULL), locale_resources_data_(NULL) { } |