| Index: chrome_frame/chrome_frame_npapi.cc
|
| ===================================================================
|
| --- chrome_frame/chrome_frame_npapi.cc (revision 29317)
|
| +++ chrome_frame/chrome_frame_npapi.cc (working copy)
|
| @@ -1041,7 +1041,9 @@
|
| }
|
|
|
| if (!src_.empty()) {
|
| - if (!automation_client_->InitiateNavigation(src_, is_privileged_)) {
|
| + if (!automation_client_->InitiateNavigation(src_,
|
| + GetDocumentUrl(),
|
| + is_privileged_)) {
|
| DLOG(ERROR) << "Failed to navigate to: " << src_;
|
| src_.clear();
|
| }
|
| @@ -1309,7 +1311,9 @@
|
| src_ = full_url;
|
| // Navigate only if we completed initialization i.e. proxy is set etc.
|
| if (ready_state_ == READYSTATE_COMPLETE) {
|
| - if (!automation_client_->InitiateNavigation(full_url, is_privileged_)) {
|
| + if (!automation_client_->InitiateNavigation(full_url,
|
| + GetDocumentUrl(),
|
| + is_privileged_)) {
|
| // TODO(tommi): call NPN_SetException.
|
| src_.clear();
|
| return false;
|
|
|