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

Unified Diff: third_party/WebKit/Source/platform/graphics/AcceleratedStaticBitmapImage.cpp

Issue 2550373005: Make WebTaskRunner ThreadSafeRefCounted (Closed)
Patch Set: mac fix Created 4 years 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 0b34859663144a5450d66ec483b86d6a726c227c..287cf39ee80f99de7e3fb835c783fbf9c4441ad9 100644
--- a/third_party/WebKit/Source/platform/graphics/AcceleratedStaticBitmapImage.cpp
+++ b/third_party/WebKit/Source/platform/graphics/AcceleratedStaticBitmapImage.cpp
@@ -155,7 +155,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