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

Unified Diff: third_party/WebKit/Source/core/fileapi/FileReader.cpp

Issue 2746333002: DevTools: move recurring flag into AsyncTask, control cancelation from embedder only. (Closed)
Patch Set: using _END now 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/fileapi/FileReader.cpp
diff --git a/third_party/WebKit/Source/core/fileapi/FileReader.cpp b/third_party/WebKit/Source/core/fileapi/FileReader.cpp
index f892a62630b96402cd4c676ba1142cf5633fca2d..968dcc77113cf1c0c3155d3aa0c6552b0cc9f6c7 100644
--- a/third_party/WebKit/Source/core/fileapi/FileReader.cpp
+++ b/third_party/WebKit/Source/core/fileapi/FileReader.cpp
@@ -93,7 +93,7 @@ class FileReader::ThrottlingController final
if (!controller)
return;
- probe::asyncTaskScheduled(context, "FileReader", reader, true);
+ probe::asyncTaskScheduled(context, "FileReader", reader);
controller->pushReader(reader);
}
@@ -452,7 +452,7 @@ void FileReader::didFail(FileError::ErrorCode errorCode) {
}
void FileReader::fireEvent(const AtomicString& type) {
- probe::AsyncTask asyncTask(getExecutionContext(), this);
+ probe::AsyncTask asyncTask(getExecutionContext(), this, "event");
if (!m_loader) {
dispatchEvent(ProgressEvent::create(type, false, 0, 0));
return;
« no previous file with comments | « third_party/WebKit/Source/core/dom/ScriptedIdleTaskController.cpp ('k') | third_party/WebKit/Source/core/frame/DOMTimer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698