diff options
author | jorlow@chromium.org <jorlow@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-30 00:35:33 +0000 |
---|---|---|
committer | jorlow@chromium.org <jorlow@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-30 00:35:33 +0000 |
commit | a3929294e9176abc6085d87cb2c6f8f8417b58f3 (patch) | |
tree | 82db7bd5e99b1ddcc4ab0efb9c43decf3698b92c /chrome/plugin/webplugin_delegate_stub.cc | |
parent | 2da90e5f4e6deae2902ea1de2f4a76544885e1d8 (diff) | |
download | chromium_src-a3929294e9176abc6085d87cb2c6f8f8417b58f3.zip chromium_src-a3929294e9176abc6085d87cb2c6f8f8417b58f3.tar.gz chromium_src-a3929294e9176abc6085d87cb2c6f8f8417b58f3.tar.bz2 |
Continue eliminating direct NPN_ function calls that go from Chromium code to WebKit code. The long-term goal is to be able to link WebKit as a DLL.
TEST=none
BUG=none
Review URL: http://codereview.chromium.org/160310
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22031 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/plugin/webplugin_delegate_stub.cc')
-rw-r--r-- | chrome/plugin/webplugin_delegate_stub.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/plugin/webplugin_delegate_stub.cc b/chrome/plugin/webplugin_delegate_stub.cc index a8a42b0..277ff91 100644 --- a/chrome/plugin/webplugin_delegate_stub.cc +++ b/chrome/plugin/webplugin_delegate_stub.cc @@ -18,10 +18,12 @@ #include "third_party/npapi/bindings/npapi.h" #include "third_party/npapi/bindings/npruntime.h" #include "skia/ext/platform_device.h" +#include "webkit/api/public/WebBindings.h" #include "webkit/api/public/WebCursorInfo.h" #include "webkit/glue/webcursor.h" #include "webkit/glue/webplugin_delegate.h" +using WebKit::WebBindings; using WebKit::WebCursorInfo; class FinishDestructionTask : public Task { @@ -296,7 +298,7 @@ void WebPluginDelegateStub::OnGetPluginScriptableObject(int* route_id, page_url_); // Release ref added by GetPluginScriptableObject (our stub holds its own). - NPN_ReleaseObject(object); + WebBindings::releaseObject(object); } void WebPluginDelegateStub::OnSendJavaScriptStream(const std::string& url, |