| Index: chrome/browser/extensions/tab_helper.cc
|
| ===================================================================
|
| --- chrome/browser/extensions/tab_helper.cc (revision 177252)
|
| +++ chrome/browser/extensions/tab_helper.cc (working copy)
|
| @@ -103,11 +103,9 @@
|
| new ScriptBubbleController(web_contents, this));
|
| }
|
|
|
| -
|
| // If more classes need to listen to global content script activity, then
|
| // a separate routing class with an observer interface should be written.
|
| - profile_ = Profile::FromBrowserContext(web_contents->GetBrowserContext());
|
| - AddScriptExecutionObserver(ActivityLog::GetInstance(profile_));
|
| + AddScriptExecutionObserver(ActivityLog::GetInstance());
|
|
|
| registrar_.Add(this,
|
| content::NOTIFICATION_LOAD_STOP,
|
| @@ -120,7 +118,7 @@
|
| }
|
|
|
| TabHelper::~TabHelper() {
|
| - RemoveScriptExecutionObserver(ActivityLog::GetInstance(profile_));
|
| + RemoveScriptExecutionObserver(ActivityLog::GetInstance());
|
| }
|
|
|
| void TabHelper::CreateApplicationShortcuts() {
|
|
|
| Property changes on: chrome/browser/extensions/tab_helper.cc
|
| ___________________________________________________________________
|
| Added: svn:mergeinfo
|
|
|
|
|