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 b6c4e8517fdebc88e063d710499232a8361047e9..a149055284ea6f6ab828e90b0dfb53d49fa73069 100644 |
--- a/content/browser/tab_contents/tab_contents.cc |
+++ b/content/browser/tab_contents/tab_contents.cc |
@@ -1362,6 +1362,8 @@ void TabContents::OnDidFinishLoad( |
bool is_main_frame) { |
FOR_EACH_OBSERVER(WebContentsObserver, observers_, |
DidFinishLoad(frame_id, validated_url, is_main_frame)); |
+ if (is_main_frame) |
+ delegate_->DidFinishLoad(this); |
} |
void TabContents::OnDidFailLoadWithError(int64 frame_id, |