Chromium Code Reviews| Index: content/browser/tab_contents/tab_contents.cc |
| diff --git a/content/browser/tab_contents/tab_contents.cc b/content/browser/tab_contents/tab_contents.cc |
| index 14a387a62d7298b7d325c9325819baf2291c3afb..d021a40dc819f59a84308961fac8597cf2a072ea 100644 |
| --- a/content/browser/tab_contents/tab_contents.cc |
| +++ b/content/browser/tab_contents/tab_contents.cc |
| @@ -1801,6 +1801,13 @@ void TabContents::LoadStateChanged(const GURL& url, |
| NotifyNavigationStateChanged(INVALIDATE_LOAD | INVALIDATE_TAB); |
| } |
| +void TabContents::OffsetAndPruneHistory(int offset) { |
| + RenderViewHost* rvh = render_view_host(); |
| + if (!rvh) |
| + return; |
| + rvh->Send(new ViewMsg_OffsetAndPruneHistory(rvh->routing_id(), offset)); |
|
brettw
2011/08/09 16:29:47
Don't we need to do something similar to this for
cbentzel
2011/08/09 16:47:22
cross-site transitions work correctly with the exi
brettw
2011/08/09 18:14:40
Okay, I think that answers my question: in the cro
cbentzel
2011/08/09 19:12:14
Thanks for thinking of that case. I entered a bug:
|
| +} |
| + |
| void TabContents::WorkerCrashed() { |
| if (delegate()) |
| delegate()->WorkerCrashed(this); |