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

Unified Diff: components/html_viewer/html_document.h

Issue 1144153004: components: Remove use of MessageLoopProxy and deprecated MessageLoop APIs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased. Created 5 years, 7 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: components/html_viewer/html_document.h
diff --git a/components/html_viewer/html_document.h b/components/html_viewer/html_document.h
index 873d14e89485838f5efef9d92071abed39589927..4e992789f5248bc4ddee591ea05fbf64b901a7af 100644
--- a/components/html_viewer/html_document.h
+++ b/components/html_viewer/html_document.h
@@ -28,7 +28,7 @@
#include "third_party/mojo/src/mojo/public/cpp/bindings/interface_impl.h"
namespace base {
-class MessageLoopProxy;
+class SingleThreadTaskRunner;
}
namespace mojo {
@@ -136,7 +136,7 @@ class HTMLDocument : public blink::WebViewClient,
mojo::View* root_;
mojo::ViewManagerClientFactory view_manager_client_factory_;
scoped_ptr<WebLayerTreeViewImpl> web_layer_tree_view_impl_;
- scoped_refptr<base::MessageLoopProxy> compositor_thread_;
+ scoped_refptr<base::SingleThreadTaskRunner> compositor_thread_;
// HTMLDocument owns these pointers; binding requests after document load.
std::set<mojo::InterfaceRequest<mojo::AxProvider>*> ax_provider_requests_;
« no previous file with comments | « components/history/core/test/history_backend_db_base_test.cc ('k') | components/html_viewer/html_document.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698