Index: ppapi/proxy/ppb_message_loop_proxy.h |
diff --git a/ppapi/proxy/ppb_message_loop_proxy.h b/ppapi/proxy/ppb_message_loop_proxy.h |
index 1613959415148a80f93a828b7cf490b3b952c814..7f4f12b0360aceb87e1ad9328fe7011eca468636 100644 |
--- a/ppapi/proxy/ppb_message_loop_proxy.h |
+++ b/ppapi/proxy/ppb_message_loop_proxy.h |
@@ -13,6 +13,7 @@ |
#include "base/macros.h" |
#include "base/memory/ref_counted.h" |
#include "base/message_loop/message_loop.h" |
+#include "base/run_loop.h" |
#include "base/single_thread_task_runner.h" |
#include "ppapi/proxy/interface_proxy.h" |
#include "ppapi/proxy/ppapi_proxy_export.h" |
@@ -88,6 +89,9 @@ class PPAPI_PROXY_EXPORT MessageLoopResource : public MessageLoopShared { |
std::unique_ptr<base::MessageLoop> loop_; |
scoped_refptr<base::SingleThreadTaskRunner> task_runner_; |
+ // RunLoop currently on the stack. |
+ base::RunLoop* run_loop_ = nullptr; |
+ |
// Number of invocations of Run currently on the stack. |
int nested_invocations_; |