Index: chrome/browser/extensions/user_script_master.h |
diff --git a/chrome/browser/extensions/user_script_master.h b/chrome/browser/extensions/user_script_master.h |
index 909bf8bffc65a15e824b516ca7f43ee3b847b7f9..7a56efa810af522f1c7d6cee40deb09e61d1a8a4 100644 |
--- a/chrome/browser/extensions/user_script_master.h |
+++ b/chrome/browser/extensions/user_script_master.h |
@@ -51,7 +51,7 @@ class UserScriptMaster : public base::RefCountedThreadSafe<UserScriptMaster>, |
} |
// Called by the script reloader when new scripts have been loaded. |
- void NewScriptsAvailable(base::SharedMemory* handle); |
+ void NewScriptsAvailable(scoped_ptr<base::SharedMemory> handle); |
// Return true if we have any scripts ready. |
bool ScriptsReady() const { return shared_memory_.get() != NULL; } |
@@ -105,7 +105,7 @@ class UserScriptMaster : public base::RefCountedThreadSafe<UserScriptMaster>, |
// Runs on the master thread. |
// Notify the master that new scripts are available. |
- void NotifyMaster(base::SharedMemory* memory); |
+ void NotifyMaster(scoped_ptr<base::SharedMemory> memory); |
// Runs on the File thread. |
// Load the specified user scripts, calling NotifyMaster when done. |