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

Unified Diff: third_party/WebKit/Source/core/dom/Document.cpp

Issue 2746333002: DevTools: move recurring flag into AsyncTask, control cancelation from embedder only. (Closed)
Patch Set: Created 3 years, 9 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
Index: third_party/WebKit/Source/core/dom/Document.cpp
diff --git a/third_party/WebKit/Source/core/dom/Document.cpp b/third_party/WebKit/Source/core/dom/Document.cpp
index 7b43059e98e5dfa347e8da67cdddecde9694b845..a7829294ff56f01ada7ecd3cdf33e83dbe953e11 100644
--- a/third_party/WebKit/Source/core/dom/Document.cpp
+++ b/third_party/WebKit/Source/core/dom/Document.cpp
@@ -4476,7 +4476,8 @@ void Document::sendSensitiveInputVisibilityInternal() {
void Document::runExecutionContextTask(
std::unique_ptr<ExecutionContextTask> task,
bool isInstrumented) {
- probe::AsyncTask asyncTask(this, task.get(), isInstrumented);
+ probe::AsyncTask asyncTask(this, task.get());
+ asyncTask.setEnabled(isInstrumented);
task->performTask(this);
}

Powered by Google App Engine
This is Rietveld 408576698