| Index: content/browser/browser_plugin/browser_plugin_guest.cc
|
| diff --git a/content/browser/browser_plugin/browser_plugin_guest.cc b/content/browser/browser_plugin/browser_plugin_guest.cc
|
| index c2461c8e94e5611f526d0cd0f2be0f9094345bae..91641539ba05137a8cc2cf155c5ce95c963d65b3 100644
|
| --- a/content/browser/browser_plugin/browser_plugin_guest.cc
|
| +++ b/content/browser/browser_plugin/browser_plugin_guest.cc
|
| @@ -1341,7 +1341,7 @@ void BrowserPluginGuest::OnLockMouseAck(int instance_id, bool succeeded) {
|
| void BrowserPluginGuest::OnNavigateGuest(
|
| int instance_id,
|
| const std::string& src) {
|
| - GURL url(src);
|
| + GURL url = delegate_ ? delegate_->ResolveURL(src) : GURL(src);
|
| // We do not load empty urls in web_contents.
|
| // If a guest sets empty src attribute after it has navigated to some
|
| // non-empty page, the action is considered no-op. This empty src navigation
|
|
|