Fix styling of #1209
This commit is contained in:
parent
2495583b5e
commit
29471ff8b5
1 changed files with 4 additions and 9 deletions
|
@ -267,11 +267,8 @@ void WebContents::WebContentsDestroyed() {
|
||||||
|
|
||||||
void WebContents::NavigationEntryCommitted(
|
void WebContents::NavigationEntryCommitted(
|
||||||
const content::LoadCommittedDetails& load_details) {
|
const content::LoadCommittedDetails& load_details) {
|
||||||
content::NavigationEntry* entry = load_details.entry;
|
auto entry = web_contents()->GetController().GetLastCommittedEntry();
|
||||||
web_contents()
|
entry->SetVirtualURL(load_details.entry->GetOriginalRequestURL());
|
||||||
->GetController()
|
|
||||||
.GetLastCommittedEntry()
|
|
||||||
->SetVirtualURL(entry->GetOriginalRequestURL());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void WebContents::DidAttach(int guest_proxy_routing_id) {
|
void WebContents::DidAttach(int guest_proxy_routing_id) {
|
||||||
|
@ -333,10 +330,8 @@ void WebContents::LoadURL(const GURL& url, const mate::Dictionary& options) {
|
||||||
}
|
}
|
||||||
|
|
||||||
GURL WebContents::GetURL() const {
|
GURL WebContents::GetURL() const {
|
||||||
return web_contents()
|
auto entry = web_contents()->GetController().GetLastCommittedEntry();
|
||||||
->GetController()
|
return entry->GetVirtualURL();
|
||||||
.GetLastCommittedEntry()
|
|
||||||
->GetVirtualURL();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
base::string16 WebContents::GetTitle() const {
|
base::string16 WebContents::GetTitle() const {
|
||||||
|
|
Loading…
Reference in a new issue