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

Unified Diff: third_party/WebKit/Source/web/InspectorOverlay.cpp

Issue 2644803002: Convert timer for InspectorOverlay (Closed)
Patch Set: Used UnspecedTimer for the task type. Created 3 years, 10 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 | « third_party/WebKit/Source/web/InspectorOverlay.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/InspectorOverlay.cpp
diff --git a/third_party/WebKit/Source/web/InspectorOverlay.cpp b/third_party/WebKit/Source/web/InspectorOverlay.cpp
index 8faf981df8ac26019097781bb1550aa6d1dafca0..4b61bf80c306449122f9f4f33093f5b6482c1d92 100644
--- a/third_party/WebKit/Source/web/InspectorOverlay.cpp
+++ b/third_party/WebKit/Source/web/InspectorOverlay.cpp
@@ -35,6 +35,7 @@
#include "bindings/core/v8/V8InspectorOverlayHost.h"
#include "core/dom/Node.h"
#include "core/dom/StaticNodeList.h"
+#include "core/dom/TaskRunnerHelper.h"
#include "core/frame/FrameHost.h"
#include "core/frame/FrameView.h"
#include "core/frame/LocalFrame.h"
@@ -182,7 +183,10 @@ InspectorOverlay::InspectorOverlay(WebLocalFrameImpl* frameImpl)
m_drawViewSize(false),
m_resizeTimerActive(false),
m_omitTooltip(false),
- m_timer(this, &InspectorOverlay::onTimer),
+ m_timer(
+ TaskRunnerHelper::get(TaskType::UnspecedTimer, frameImpl->frame()),
+ this,
+ &InspectorOverlay::onTimer),
m_suspended(false),
m_showReloadingBlanket(false),
m_inLayout(false),
« no previous file with comments | « third_party/WebKit/Source/web/InspectorOverlay.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698