summaryrefslogtreecommitdiffstats
path: root/chrome_frame/chrome_active_document.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome_frame/chrome_active_document.cc')
-rw-r--r--chrome_frame/chrome_active_document.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome_frame/chrome_active_document.cc b/chrome_frame/chrome_active_document.cc
index a0bcae4..3c10d15 100644
--- a/chrome_frame/chrome_active_document.cc
+++ b/chrome_frame/chrome_active_document.cc
@@ -232,11 +232,12 @@ STDMETHODIMP ChromeActiveDocument::Load(BOOL fully_avalable,
moniker_name, bind_context,
mgr ? mgr->original_url_with_fragment() : std::wstring()));
+ scoped_refptr<RequestData> data;
if (mgr) {
mgr->set_original_url_with_fragment(L"");
+ data = mgr->GetActiveRequestData(url.c_str());
}
- scoped_refptr<RequestData> data(mgr->GetActiveRequestData(url.c_str()));
DLOG_IF(INFO, data) << "Got active request data";
DLOG_IF(WARNING, data.get() == NULL) << "NO active request data";