summaryrefslogtreecommitdiffstats
path: root/chrome/plugin/webplugin_proxy.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/plugin/webplugin_proxy.cc')
-rw-r--r--chrome/plugin/webplugin_proxy.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/plugin/webplugin_proxy.cc b/chrome/plugin/webplugin_proxy.cc
index 448064a..478300a 100644
--- a/chrome/plugin/webplugin_proxy.cc
+++ b/chrome/plugin/webplugin_proxy.cc
@@ -58,7 +58,7 @@ WebPluginProxy::~WebPluginProxy() {
GetContextMap().erase(cp_browsing_context_);
if (parent_window_) {
- PluginThread::GetPluginThread()->Send(
+ PluginThread::current()->Send(
new PluginProcessHostMsg_DestroyWindow(parent_window_));
}
}
@@ -90,7 +90,7 @@ void WebPluginProxy::SetWindow(HWND window, HANDLE pump_messages_event) {
// the browser paints or sends any other (synchronous) WM_ message to the
// plugin window.
msg->EnableMessagePumping();
- PluginThread::GetPluginThread()->Send(msg);
+ PluginThread::current()->Send(msg);
SetParent(window, parent_window_);