Index: third_party/WebKit/Source/platform/graphics/gpu/SharedGpuContext.cpp |
diff --git a/third_party/WebKit/Source/platform/graphics/gpu/SharedGpuContext.cpp b/third_party/WebKit/Source/platform/graphics/gpu/SharedGpuContext.cpp |
index e624aa19c01cb05bd7c6389d9a1c8ce40f592942..069cdfdb10f01c9ae27bc8440bd6cae82e3d2a2b 100644 |
--- a/third_party/WebKit/Source/platform/graphics/gpu/SharedGpuContext.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/gpu/SharedGpuContext.cpp |
@@ -57,7 +57,7 @@ void SharedGpuContext::createContextProviderIfNeeded() { |
// SharedGpuContext encasulates the context provider: so we only have to do |
// this once per thread. |
WaitableEvent waitableEvent; |
- WebTaskRunner* taskRunner = |
+ RefPtr<WebTaskRunner> taskRunner = |
Platform::current()->mainThread()->getWebTaskRunner(); |
taskRunner->postTask( |
BLINK_FROM_HERE, |