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

Unified Diff: Source/core/frame/FrameHost.cpp

Issue 1334243004: Post DOMTimers on the corresponding LocalFrame's timer queue (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed layout test failures. Created 5 years, 3 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 | « Source/core/frame/FrameHost.h ('k') | Source/core/frame/LocalDOMWindow.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/FrameHost.cpp
diff --git a/Source/core/frame/FrameHost.cpp b/Source/core/frame/FrameHost.cpp
index a7486844c22a68c576fbaba63d9c314bc50e5c00..273301786e2824d1b2873cc94373ea50c8a33360 100644
--- a/Source/core/frame/FrameHost.cpp
+++ b/Source/core/frame/FrameHost.cpp
@@ -36,6 +36,9 @@
#include "core/frame/TopControls.h"
#include "core/inspector/ConsoleMessageStorage.h"
#include "core/page/Page.h"
+#include "public/platform/Platform.h"
+#include "public/platform/WebFrameHostScheduler.h"
+#include "public/platform/WebScheduler.h"
namespace blink {
@@ -51,6 +54,7 @@ FrameHost::FrameHost(Page& page)
, m_visualViewport(VisualViewport::create(*this))
, m_eventHandlerRegistry(adoptPtrWillBeNoop(new EventHandlerRegistry(*this)))
, m_consoleMessageStorage(ConsoleMessageStorage::create())
+ , m_frameHostScheduler(adoptPtr(Platform::current()->currentThread()->scheduler()->createFrameHostScheduler()))
, m_subframeCount(0)
{
}
« no previous file with comments | « Source/core/frame/FrameHost.h ('k') | Source/core/frame/LocalDOMWindow.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698