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 d25617547e48687cb67ba6ff81e4bf13d482e9f0..0b06b975200dce0dce4aec261d136bed54ff41aa 100644 |
--- a/content/browser/tab_contents/tab_contents.cc |
+++ b/content/browser/tab_contents/tab_contents.cc |
@@ -596,6 +596,14 @@ bool TabContents::NavigateToEntry( |
return true; |
} |
+void TabContents::SetHistoryLengthAndClear(int history_length) { |
+ RenderViewHost* rvh = render_view_host(); |
+ if (!rvh) |
+ return; |
+ rvh->Send(new ViewMsg_SetHistoryLengthAndClear(rvh->routing_id(), |
+ history_length)); |
+} |
+ |
void TabContents::Stop() { |
render_manager_.Stop(); |
FOR_EACH_OBSERVER(TabContentsObserver, observers_, StopNavigation()); |