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 e119ed746235ea24210e2e5a12f74cb2684cba26..734e1cbac1d2fa68898106861d17d6c84e4614f9 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, |