Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(920)

Unified Diff: Source/core/loader/FrameLoader.cpp

Issue 19641006: Cancel vibration when frame load is committed. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/core/page/Page.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/loader/FrameLoader.cpp
diff --git a/Source/core/loader/FrameLoader.cpp b/Source/core/loader/FrameLoader.cpp
index d05c9ebee31d1c768cd495075b73e2aac48f14d1..204effd599e992c6fe03628c26068a348a9fb8e2 100644
--- a/Source/core/loader/FrameLoader.cpp
+++ b/Source/core/loader/FrameLoader.cpp
@@ -2270,6 +2270,8 @@ void FrameLoader::dispatchDidCommitLoad()
InspectorInstrumentation::didCommitLoad(m_frame, m_documentLoader.get());
+ m_frame->page()->didCommitLoad(m_frame);
+
if (m_frame->page()->mainFrame() == m_frame)
m_frame->page()->useCounter()->didCommitLoad();
« no previous file with comments | « no previous file | Source/core/page/Page.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698