| Index: content/common/npobject_stub.cc
|
| diff --git a/content/common/npobject_stub.cc b/content/common/npobject_stub.cc
|
| index af0f33a3eff907796039186eab54b56cf1bfa3b3..e582ea0ad872e4ae0f92d4d57052dad6805e1874 100644
|
| --- a/content/common/npobject_stub.cc
|
| +++ b/content/common/npobject_stub.cc
|
| @@ -5,16 +5,14 @@
|
| #include "content/common/npobject_stub.h"
|
|
|
| #include "content/common/content_client.h"
|
| +#include "content/common/np_channel_base.h"
|
| #include "content/common/npobject_util.h"
|
| #include "content/common/plugin_messages.h"
|
| -#include "content/plugin/plugin_thread.h"
|
| #include "third_party/npapi/bindings/npapi.h"
|
| #include "third_party/npapi/bindings/npruntime.h"
|
| #include "third_party/WebKit/Source/WebKit/chromium/public/WebBindings.h"
|
| #include "webkit/plugins/npapi/plugin_constants_win.h"
|
|
|
| -class NPChannelBase;
|
| -
|
| using WebKit::WebBindings;
|
|
|
| NPObjectStub::NPObjectStub(
|
| @@ -243,7 +241,7 @@ void NPObjectStub::OnSetProperty(const NPIdentifier_Param& name,
|
| if (npobject_->_class->setProperty) {
|
| #if defined(OS_WIN)
|
| static std::wstring filename = StringToLowerASCII(
|
| - PluginThread::current()->plugin_path().BaseName().value());
|
| + GetPluginPath().BaseName().value());
|
| static NPIdentifier fullscreen =
|
| WebBindings::getStringIdentifier("fullScreen");
|
| if (filename == webkit::npapi::kNewWMPPlugin && id == fullscreen) {
|
|
|