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

Unified Diff: third_party/WebKit/Source/platform/graphics/AcceleratedStaticBitmapImage.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/platform/graphics/AcceleratedStaticBitmapImage.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/AcceleratedStaticBitmapImage.cpp b/third_party/WebKit/Source/platform/graphics/AcceleratedStaticBitmapImage.cpp
index 2b0a18d95d9cfae6d80ff596387f16b6f5e858fe..3cb04fe8c4dc6372dd1db8425fadaf6274c24f5b 100644
--- a/third_party/WebKit/Source/platform/graphics/AcceleratedStaticBitmapImage.cpp
+++ b/third_party/WebKit/Source/platform/graphics/AcceleratedStaticBitmapImage.cpp
@@ -161,7 +161,7 @@ void AcceleratedStaticBitmapImage::transfer() {
WebThread* currentThread = Platform::current()->currentThread();
m_textureHolder->setWasTransferred(true);
m_textureHolder->setTextureThreadTaskRunner(
- currentThread->getWebTaskRunner()->clone());
+ currentThread->getWebTaskRunner());
}
m_detachThreadAtNextCheck = true;
}

Powered by Google App Engine
This is Rietveld 408576698