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

Unified Diff: Source/modules/mediastream/MediaStreamTrackSourcesRequestImpl.cpp

Issue 915703002: Add task location information to ExecutionContext (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased. Created 5 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 | « Source/modules/filesystem/LocalFileSystem.cpp ('k') | Source/modules/notifications/Notification.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/mediastream/MediaStreamTrackSourcesRequestImpl.cpp
diff --git a/Source/modules/mediastream/MediaStreamTrackSourcesRequestImpl.cpp b/Source/modules/mediastream/MediaStreamTrackSourcesRequestImpl.cpp
index 76e6294e3a2410ff4c1a591e0085f7833a489260..b5e98000bf01c53a31ac894e1779f73137660420 100644
--- a/Source/modules/mediastream/MediaStreamTrackSourcesRequestImpl.cpp
+++ b/Source/modules/mediastream/MediaStreamTrackSourcesRequestImpl.cpp
@@ -31,6 +31,7 @@
#include "modules/mediastream/MediaStreamTrackSourcesCallback.h"
#include "platform/weborigin/SecurityOrigin.h"
#include "public/platform/WebSourceInfo.h"
+#include "public/platform/WebTraceLocation.h"
#include "wtf/Functional.h"
#include "wtf/PassOwnPtr.h"
@@ -62,7 +63,7 @@ void MediaStreamTrackSourcesRequestImpl::requestSucceeded(const WebVector<WebSou
for (size_t i = 0; i < webSourceInfos.size(); ++i)
m_sourceInfos.append(SourceInfo::create(webSourceInfos[i]));
- m_executionContext->postTask(createCrossThreadTask(&MediaStreamTrackSourcesRequestImpl::performCallback, this));
+ m_executionContext->postTask(FROM_HERE, createCrossThreadTask(&MediaStreamTrackSourcesRequestImpl::performCallback, this));
}
void MediaStreamTrackSourcesRequestImpl::performCallback()
« no previous file with comments | « Source/modules/filesystem/LocalFileSystem.cpp ('k') | Source/modules/notifications/Notification.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698