summaryrefslogtreecommitdiffstats
path: root/chrome/plugin/npobject_stub.cc
diff options
context:
space:
mode:
authorjschuh@chromium.org <jschuh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-14 00:25:12 +0000
committerjschuh@chromium.org <jschuh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-14 00:25:12 +0000
commit0becd7bfab9d99c4c5aec30a4c26c635b5c211fd (patch)
treeb15d4414aa05883e4b1f5792262e37aaf876a99b /chrome/plugin/npobject_stub.cc
parent9feef8238364b48734cc74418faef10275e48764 (diff)
downloadchromium_src-0becd7bfab9d99c4c5aec30a4c26c635b5c211fd.zip
chromium_src-0becd7bfab9d99c4c5aec30a4c26c635b5c211fd.tar.gz
chromium_src-0becd7bfab9d99c4c5aec30a4c26c635b5c211fd.tar.bz2
Duplicating the SetActiveURL() change from the renderer to the plugin process. (Should also fix a plugin callback that may be clearing the renderer's URL prematurely.)
BUG=22033 TEST=None Review URL: http://codereview.chromium.org/384130 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31971 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/plugin/npobject_stub.cc')
-rw-r--r--chrome/plugin/npobject_stub.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/plugin/npobject_stub.cc b/chrome/plugin/npobject_stub.cc
index 958ad55..4fe7e77 100644
--- a/chrome/plugin/npobject_stub.cc
+++ b/chrome/plugin/npobject_stub.cc
@@ -55,7 +55,7 @@ void NPObjectStub::OnPluginDestroyed() {
}
void NPObjectStub::OnMessageReceived(const IPC::Message& msg) {
- child_process_logging::ScopedActiveURLSetter url_setter(page_url_);
+ child_process_logging::SetActiveURL(page_url_);
if (!npobject_) {
if (msg.is_sync()) {