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

Unified Diff: media/gpu/rendering_helper.h

Issue 2407333002: Remove MessageLoop::current() from rendering_helper.cc. (Closed)
Patch Set: add missing include Created 4 years, 2 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 | « no previous file | media/gpu/rendering_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/gpu/rendering_helper.h
diff --git a/media/gpu/rendering_helper.h b/media/gpu/rendering_helper.h
index 3b6c631bdd0f33f41757632739ac87a02ee43baa..dd9f721b8805a8bd397c359e59a25f90ee141d95 100644
--- a/media/gpu/rendering_helper.h
+++ b/media/gpu/rendering_helper.h
@@ -15,6 +15,8 @@
#include "base/cancelable_callback.h"
#include "base/macros.h"
+#include "base/memory/ref_counted.h"
+#include "base/single_thread_task_runner.h"
#include "base/time/time.h"
#include "build/build_config.h"
#include "ui/gfx/geometry/rect.h"
@@ -24,7 +26,6 @@
#include "ui/gl/gl_surface.h"
namespace base {
-class MessageLoop;
class WaitableEvent;
}
@@ -186,7 +187,7 @@ class RenderingHelper {
// |texture_target|.
void RenderTexture(uint32_t texture_target, uint32_t texture_id);
- base::MessageLoop* message_loop_;
+ scoped_refptr<base::SingleThreadTaskRunner> task_runner_;
scoped_refptr<gl::GLContext> gl_context_;
scoped_refptr<gl::GLSurface> gl_surface_;
« no previous file with comments | « no previous file | media/gpu/rendering_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698