summaryrefslogtreecommitdiffstats
path: root/content/renderer/render_view_impl.cc
diff options
context:
space:
mode:
authornasko@chromium.org <nasko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-07 21:31:57 +0000
committernasko@chromium.org <nasko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-07 21:31:57 +0000
commit1d62cf79f609fba47ef680bf5acc9b453d4229ea (patch)
treea2d5aa01f83591bda380a34181dc11e99278ceb8 /content/renderer/render_view_impl.cc
parent1d5541509d24eb016f775703fd7d1ed68b6bbe21 (diff)
downloadchromium_src-1d62cf79f609fba47ef680bf5acc9b453d4229ea.zip
chromium_src-1d62cf79f609fba47ef680bf5acc9b453d4229ea.tar.gz
chromium_src-1d62cf79f609fba47ef680bf5acc9b453d4229ea.tar.bz2
Move DidFinishDocumentLoad code from RenderView to RenderFrame.
BUG=304341 R=creis@chromium.org Review URL: https://codereview.chromium.org/156993004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249789 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/renderer/render_view_impl.cc')
-rw-r--r--content/renderer/render_view_impl.cc9
1 files changed, 0 insertions, 9 deletions
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc
index 4d27120..b5073ed 100644
--- a/content/renderer/render_view_impl.cc
+++ b/content/renderer/render_view_impl.cc
@@ -3621,17 +3621,8 @@ void RenderViewImpl::didChangeIcon(WebFrame* frame,
}
void RenderViewImpl::didFinishDocumentLoad(WebFrame* frame) {
- WebDataSource* ds = frame->dataSource();
- DocumentState* document_state = DocumentState::FromDataSource(ds);
- document_state->set_finish_document_load_time(Time::Now());
-
- Send(new ViewHostMsg_DocumentLoadedInFrame(routing_id_, frame->identifier()));
-
FOR_EACH_OBSERVER(RenderViewObserver, observers_,
DidFinishDocumentLoad(frame));
-
- // Check whether we have new encoding name.
- UpdateEncoding(frame, frame->view()->pageEncoding().utf8());
}
void RenderViewImpl::didHandleOnloadEvents(WebFrame* frame) {