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

Unified Diff: content/browser/media/capture/web_contents_tracker.h

Issue 1112333002: [content/browser/media] Replace MessageLoopProxy usage with ThreadTaskRunnerHandle (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed build break Created 5 years, 8 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: content/browser/media/capture/web_contents_tracker.h
diff --git a/content/browser/media/capture/web_contents_tracker.h b/content/browser/media/capture/web_contents_tracker.h
index f124eaa47e87e501f25c803606d83b22112b656b..b068c4a6568df3dfb7dca431b25dda607ce35ba9 100644
--- a/content/browser/media/capture/web_contents_tracker.h
+++ b/content/browser/media/capture/web_contents_tracker.h
@@ -22,7 +22,7 @@
#include "content/public/browser/web_contents_observer.h"
namespace base {
-class MessageLoopProxy;
+class SingleThreadTaskRunner;
}
namespace content {
@@ -100,7 +100,7 @@ class CONTENT_EXPORT WebContentsTracker
const bool track_fullscreen_rwh_;
// MessageLoop corresponding to the thread that called Start().
xhwang 2015/04/30 15:54:45 Update the comment.
anujsharma 2015/05/04 08:07:56 Done.
- scoped_refptr<base::MessageLoopProxy> message_loop_;
+ scoped_refptr<base::SingleThreadTaskRunner> message_loop_;
xhwang 2015/04/30 15:54:45 Also update the variable name please.
anujsharma 2015/05/04 08:07:56 Done.
// Callback to run when the target RenderWidgetHost has changed.
ChangeCallback callback_;

Powered by Google App Engine
This is Rietveld 408576698