diff options
author | klink@chromium.org <klink@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-09 00:03:18 +0000 |
---|---|---|
committer | klink@chromium.org <klink@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-09 00:03:18 +0000 |
commit | bdf647955f0bed7bd2fd3b7a9133ff46e9604687 (patch) | |
tree | 906f28e577382543a9a20fe913b5eec81af83e84 /chrome/browser/browser_accessibility_manager.h | |
parent | 0d13416b940db94edc3d0a275f41abfe15b36a84 (diff) | |
download | chromium_src-bdf647955f0bed7bd2fd3b7a9133ff46e9604687.zip chromium_src-bdf647955f0bed7bd2fd3b7a9133ff46e9604687.tar.gz chromium_src-bdf647955f0bed7bd2fd3b7a9133ff46e9604687.tar.bz2 |
Fixes crash in BrowserAccessibilityManager destructor (see CPBrowsingContextManager for example of this type of fix).
Also fixes small style issue, to be consistent with other Singleton implementations.
Review URL: http://codereview.chromium.org/6282
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3078 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_accessibility_manager.h')
-rw-r--r-- | chrome/browser/browser_accessibility_manager.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/browser_accessibility_manager.h b/chrome/browser/browser_accessibility_manager.h index 1ac25e4..4d837bf 100644 --- a/chrome/browser/browser_accessibility_manager.h +++ b/chrome/browser/browser_accessibility_manager.h @@ -47,7 +47,7 @@ class BrowserAccessibilityManager : public NotificationObserver { // Gets the singleton BrowserAccessibilityManager object. The first time this // method is called, a CacheManagerHost object is constructed and returned. // Subsequent calls will return the same object. - static BrowserAccessibilityManager* Instance(); + static BrowserAccessibilityManager* GetInstance(); // Creates an instance of BrowserAccessibility, initializes it and sets the // iaccessible_id and parent_id. @@ -86,7 +86,7 @@ class BrowserAccessibilityManager : public NotificationObserver { protected: // This class is a singleton. Do not instantiate directly. BrowserAccessibilityManager(); - friend DefaultSingletonTraits<BrowserAccessibilityManager>; + friend struct DefaultSingletonTraits<BrowserAccessibilityManager>; ~BrowserAccessibilityManager(); |