diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2018-08-23 18:26:28 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2018-09-22 08:47:19 +0000 |
commit | c0419ae89fbc4fbdc58aef5b8b01ab0b45f8ff98 (patch) | |
tree | d0bdc1f0ef144bb63ed75b8e6fcfb6f039628210 /src/core/chromium_gpu_helper.h | |
parent | 1e89fa4226be870d97d3b21c6c7087886c81bbc5 (diff) |
Adaptations for Chromium 68
Together-with: Tamas Zakor<ztamas@inf.u-szeged.hu>
Change-Id: I805246b6f01cb151fff48588744408c676d87c14
Reviewed-by: Michael BrĂ¼ning <michael.bruning@qt.io>
Diffstat (limited to 'src/core/chromium_gpu_helper.h')
-rw-r--r-- | src/core/chromium_gpu_helper.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core/chromium_gpu_helper.h b/src/core/chromium_gpu_helper.h index be4380085..21b764997 100644 --- a/src/core/chromium_gpu_helper.h +++ b/src/core/chromium_gpu_helper.h @@ -42,8 +42,10 @@ #include <QtGlobal> // We need this for the Q_OS_QNX define. +#include "base/memory/scoped_refptr.h" + namespace base { -class MessageLoop; +class SingleThreadTaskRunner; } namespace gpu { @@ -58,7 +60,7 @@ class TextureBase; // From the outside, types from incompatible headers referenced in these // functions should only be forward-declared and considered as opaque types. -base::MessageLoop *gpu_message_loop(); +scoped_refptr<base::SingleThreadTaskRunner> gpu_task_runner(); gpu::SyncPointManager *sync_point_manager(); gpu::MailboxManager *mailbox_manager(); |