summaryrefslogtreecommitdiffstats
path: root/chrome/plugin/webplugin_delegate_stub.cc
diff options
context:
space:
mode:
authormaruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-12 19:49:04 +0000
committermaruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-12 19:49:04 +0000
commitb94d3327ed86b1345ceca7806ae1e050055e252b (patch)
treea5fce8db5729299807c8ac0d3bf37e721b535392 /chrome/plugin/webplugin_delegate_stub.cc
parent35b7041fbb49843f868c34ed3b5200d7653a6f5d (diff)
downloadchromium_src-b94d3327ed86b1345ceca7806ae1e050055e252b.zip
chromium_src-b94d3327ed86b1345ceca7806ae1e050055e252b.tar.gz
chromium_src-b94d3327ed86b1345ceca7806ae1e050055e252b.tar.bz2
Lots of small nits to help to split off webkit.dll.
- Stop directly referencing WebPluginDelegateImpl. - Make the password manager to not allocation the data on heap. - Remove some unneeded includes. Review URL: http://codereview.chromium.org/20208 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9692 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/plugin/webplugin_delegate_stub.cc')
-rw-r--r--chrome/plugin/webplugin_delegate_stub.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/plugin/webplugin_delegate_stub.cc b/chrome/plugin/webplugin_delegate_stub.cc
index 31444b6..1a35ecf 100644
--- a/chrome/plugin/webplugin_delegate_stub.cc
+++ b/chrome/plugin/webplugin_delegate_stub.cc
@@ -17,8 +17,8 @@
#include "third_party/npapi/bindings/npapi.h"
#include "third_party/npapi/bindings/npruntime.h"
#include "skia/ext/platform_device.h"
-#include "webkit/glue/plugins/webplugin_delegate_impl.h"
#include "webkit/glue/webcursor.h"
+#include "webkit/glue/webplugin_delegate.h"
class FinishDestructionTask : public Task {
public:
@@ -126,7 +126,7 @@ void WebPluginDelegateStub::OnInit(const PluginMsg_Init_Params& params,
const CommandLine& command_line = *CommandLine::ForCurrentProcess();
FilePath path =
FilePath(command_line.GetSwitchValue(switches::kPluginPath));
- delegate_ = WebPluginDelegateImpl::Create(
+ delegate_ = WebPluginDelegate::Create(
path, mime_type_, params.containing_window);
if (delegate_) {
webplugin_ = new WebPluginProxy(