| Index: chrome/browser/ui/tab_contents/tab_contents_wrapper.cc
|
| diff --git a/chrome/browser/ui/tab_contents/tab_contents_wrapper.cc b/chrome/browser/ui/tab_contents/tab_contents_wrapper.cc
|
| index 048708992da20141d8d8ab95a2b24bdd505ffb45..a1ea8802fa0464e18a5e1c1ae86fdf8a93d81d49 100644
|
| --- a/chrome/browser/ui/tab_contents/tab_contents_wrapper.cc
|
| +++ b/chrome/browser/ui/tab_contents/tab_contents_wrapper.cc
|
| @@ -169,7 +169,7 @@ TabContentsWrapper::TabContentsWrapper(TabContents* contents)
|
| NotificationService::AllSources());
|
| #endif
|
|
|
| - // Register for notifications about all interested prefs change.
|
| + // Register for notifications about all interested prefs changes.
|
| PrefService* prefs = profile()->GetPrefs();
|
| pref_change_registrar_.Init(prefs);
|
| if (prefs) {
|
| @@ -193,6 +193,10 @@ TabContentsWrapper::~TabContentsWrapper() {
|
| RemoveAllInfoBars(false);
|
| }
|
|
|
| +Profile* TabContentsWrapper::profile() const {
|
| + return static_cast<Profile*>(tab_contents_->browser_context());
|
| +}
|
| +
|
| PropertyAccessor<TabContentsWrapper*>* TabContentsWrapper::property_accessor() {
|
| return g_tab_contents_wrapper_property_accessor.Pointer();
|
| }
|
|
|