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

Unified Diff: gin/per_isolate_data.h

Issue 1641513004: Update //base to chromium 9659b08ea5a34f889dc4166217f438095ddc10d2 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 4 years, 11 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 | « gin/modules/console.cc ('k') | gin/per_isolate_data.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gin/per_isolate_data.h
diff --git a/gin/per_isolate_data.h b/gin/per_isolate_data.h
index bffe5fb2c6f6e6c4a420171c6a5d8b74b676429e..175161cebc211b04440187c567352f47bfeb136d 100644
--- a/gin/per_isolate_data.h
+++ b/gin/per_isolate_data.h
@@ -14,7 +14,7 @@
#include "v8/include/v8.h"
namespace base {
-class MessageLoopProxy;
+class SingleThreadTaskRunner;
}
namespace gin {
@@ -65,9 +65,7 @@ class GIN_EXPORT PerIsolateData {
v8::Isolate* isolate() { return isolate_; }
v8::ArrayBuffer::Allocator* allocator() { return allocator_; }
- base::MessageLoopProxy* message_loop_proxy() {
- return message_loop_proxy_.get();
- }
+ base::SingleThreadTaskRunner* task_runner() { return task_runner_.get(); }
private:
typedef std::map<
@@ -87,7 +85,7 @@ class GIN_EXPORT PerIsolateData {
FunctionTemplateMap function_templates_;
IndexedPropertyInterceptorMap indexed_interceptors_;
NamedPropertyInterceptorMap named_interceptors_;
- scoped_refptr<base::MessageLoopProxy> message_loop_proxy_;
+ scoped_refptr<base::SingleThreadTaskRunner> task_runner_;
DISALLOW_COPY_AND_ASSIGN(PerIsolateData);
};
« no previous file with comments | « gin/modules/console.cc ('k') | gin/per_isolate_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698