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

Unified Diff: third_party/WebKit/Source/modules/webgl/WebGLQuery.cpp

Issue 2550373005: Make WebTaskRunner ThreadSafeRefCounted (Closed)
Patch Set: +DISALLOW_COPY_AND_ASSIGN for win build fix Created 3 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
Index: third_party/WebKit/Source/modules/webgl/WebGLQuery.cpp
diff --git a/third_party/WebKit/Source/modules/webgl/WebGLQuery.cpp b/third_party/WebKit/Source/modules/webgl/WebGLQuery.cpp
index 6cb8e79819f5bb2618555dccdf711612973649a1..bd3b22ce8c63a18f13faf77cf98e7e9f8e29e22c 100644
--- a/third_party/WebKit/Source/modules/webgl/WebGLQuery.cpp
+++ b/third_party/WebKit/Source/modules/webgl/WebGLQuery.cpp
@@ -22,8 +22,7 @@ WebGLQuery::WebGLQuery(WebGL2RenderingContextBase* ctx)
m_queryResultAvailable(false),
m_queryResult(0),
m_taskRunner(TaskRunnerHelper::get(TaskType::Unthrottled,
- &ctx->canvas()->document())
- ->clone()) {
+ &ctx->canvas()->document())) {
GLuint query;
ctx->contextGL()->GenQueriesEXT(1, &query);
setObject(query);

Powered by Google App Engine
This is Rietveld 408576698