| Index: chrome/browser/chrome_plugin_host.cc
|
| diff --git a/chrome/browser/chrome_plugin_host.cc b/chrome/browser/chrome_plugin_host.cc
|
| index 9248036fd3c7df0bdb77485b85cab45bfb954b68..b339b464320b56a26eab48be06b07cb3aa4041b2 100644
|
| --- a/chrome/browser/chrome_plugin_host.cc
|
| +++ b/chrome/browser/chrome_plugin_host.cc
|
| @@ -109,7 +109,7 @@ class PluginRequestInterceptor
|
| return NULL;
|
|
|
| CPBrowsingContext context =
|
| - CPBrowsingContextManager::Instance()->Lookup(request->context());
|
| + CPBrowsingContextManager::GetInstance()->Lookup(request->context());
|
| scoped_ptr<ScopableCPRequest> cprequest(
|
| new ScopableCPRequest(request->url().spec().c_str(),
|
| request->method().c_str(),
|
| @@ -156,7 +156,7 @@ class PluginRequestHandler : public PluginHelper,
|
| : PluginHelper(plugin), cprequest_(cprequest), user_buffer_(NULL) {
|
| cprequest_->data = this; // see FromCPRequest().
|
|
|
| - URLRequestContext* context = CPBrowsingContextManager::Instance()->
|
| + URLRequestContext* context = CPBrowsingContextManager::GetInstance()->
|
| ToURLRequestContext(cprequest_->context);
|
| // TODO(mpcomplete): remove fallback case when Gears support is prevalent.
|
| if (!context)
|
| @@ -386,7 +386,7 @@ void STDCALL CPB_SetKeepProcessAlive(CPID id, CPBool keep_alive) {
|
| CPError STDCALL CPB_GetCookies(CPID id, CPBrowsingContext bcontext,
|
| const char* url, char** cookies) {
|
| CHECK(ChromePluginLib::IsPluginThread());
|
| - URLRequestContext* context = CPBrowsingContextManager::Instance()->
|
| + URLRequestContext* context = CPBrowsingContextManager::GetInstance()->
|
| ToURLRequestContext(bcontext);
|
| // TODO(mpcomplete): remove fallback case when Gears support is prevalent.
|
| if (!context) {
|
|
|