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

Unified Diff: content/test/layouttest_support.cc

Issue 15993018: Reland: Use a shared thread for media operations (round 3). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix stop race Created 7 years, 6 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/test/layouttest_support.cc
diff --git a/content/test/layouttest_support.cc b/content/test/layouttest_support.cc
index 100ce3d3a87356a2a512cd834fbc66c7d5ef0551..15251ede435a5b516d82c28fc8d93e0247ffc48a 100644
--- a/content/test/layouttest_support.cc
+++ b/content/test/layouttest_support.cc
@@ -111,4 +111,8 @@ void DisableAutoResizeMode(RenderView* render_view, const WebSize& new_size) {
->DisableAutoResizeForTesting(new_size);
}
+scoped_refptr<base::MessageLoopProxy> GetMediaThreadMessageLoopProxy() {
+ return RenderThreadImpl::current()->GetMediaThreadMessageLoopProxy();
+}
+
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698