Index: chrome/browser/extensions/api/runtime/runtime_api.cc |
diff --git a/chrome/browser/extensions/api/runtime/runtime_api.cc b/chrome/browser/extensions/api/runtime/runtime_api.cc |
index 185c2ce22223a866988f7dae13c22ec7bf51079b..3411a037e362c96c2d94d3b7eff14e5b7b970864 100644 |
--- a/chrome/browser/extensions/api/runtime/runtime_api.cc |
+++ b/chrome/browser/extensions/api/runtime/runtime_api.cc |
@@ -132,7 +132,9 @@ std::string GetUninstallUrl(ExtensionPrefs* prefs, |
// static |
void RuntimeEventRouter::DispatchOnStartupEvent( |
- Profile* profile, const std::string& extension_id) { |
+ content::BrowserContext* context, const std::string& extension_id) { |
+ // TODO(jamescook): Convert to BrowserContext all the way down. |
+ Profile* profile = static_cast<Profile*>(context); |
DispatchOnStartupEventImpl(profile, extension_id, true, NULL); |
} |