Index: chrome/browser/prerender/prerender_manager_factory.h |
diff --git a/chrome/browser/prerender/prerender_manager_factory.h b/chrome/browser/prerender/prerender_manager_factory.h |
index 3f345e483c80dfd35e0407f2e2358533aed70aa8..5da45f5872d7a958b3a05ebd3a4301112ee88163 100644 |
--- a/chrome/browser/prerender/prerender_manager_factory.h |
+++ b/chrome/browser/prerender/prerender_manager_factory.h |
@@ -34,9 +34,8 @@ class PrerenderManagerFactory : public ProfileKeyedServiceFactory { |
// ProfileKeyedServiceFactory: |
virtual ProfileKeyedService* BuildServiceInstanceFor( |
content::BrowserContext* profile) const OVERRIDE; |
- |
- // Prerendering is allowed in incognito. |
- virtual bool ServiceHasOwnInstanceInIncognito() const OVERRIDE; |
+ virtual content::BrowserContext* GetBrowserContextToUse( |
+ content::BrowserContext* context) const OVERRIDE; |
}; |
} // namespace prerender |