OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserv
ed. | 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserv
ed. |
3 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) | 3 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) |
4 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) | 4 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) |
5 * Copyright (C) 2008 Alp Toker <alp@atoker.com> | 5 * Copyright (C) 2008 Alp Toker <alp@atoker.com> |
6 * Copyright (C) Research In Motion Limited 2009. All rights reserved. | 6 * Copyright (C) Research In Motion Limited 2009. All rights reserved. |
7 * Copyright (C) 2011 Kris Jordan <krisjordan@gmail.com> | 7 * Copyright (C) 2011 Kris Jordan <krisjordan@gmail.com> |
8 * Copyright (C) 2011 Google Inc. All rights reserved. | 8 * Copyright (C) 2011 Google Inc. All rights reserved. |
9 * | 9 * |
10 * Redistribution and use in source and binary forms, with or without | 10 * Redistribution and use in source and binary forms, with or without |
(...skipping 2252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2263 | 2263 |
2264 void FrameLoader::dispatchDidCommitLoad() | 2264 void FrameLoader::dispatchDidCommitLoad() |
2265 { | 2265 { |
2266 if (m_stateMachine.creatingInitialEmptyDocument()) | 2266 if (m_stateMachine.creatingInitialEmptyDocument()) |
2267 return; | 2267 return; |
2268 | 2268 |
2269 m_client->dispatchDidCommitLoad(); | 2269 m_client->dispatchDidCommitLoad(); |
2270 | 2270 |
2271 InspectorInstrumentation::didCommitLoad(m_frame, m_documentLoader.get()); | 2271 InspectorInstrumentation::didCommitLoad(m_frame, m_documentLoader.get()); |
2272 | 2272 |
| 2273 m_frame->page()->didCommitLoad(m_frame); |
| 2274 |
2273 if (m_frame->page()->mainFrame() == m_frame) | 2275 if (m_frame->page()->mainFrame() == m_frame) |
2274 m_frame->page()->useCounter()->didCommitLoad(); | 2276 m_frame->page()->useCounter()->didCommitLoad(); |
2275 | 2277 |
2276 } | 2278 } |
2277 | 2279 |
2278 } // namespace WebCore | 2280 } // namespace WebCore |
OLD | NEW |