Commit c29421fa authored by haraken's avatar haraken Committed by Commit bot

Oilpan: Use CrossThreadPersistent for CanvasAsyncBlobCreator::m_callback

The image encoder runs on a background worker thread, which is not attached to Oilpan.
Thus CanvasAsyncBlobCreator::m_callback touched by the image encoder must use CrossThreadPersistent.

BUG=581877

Review URL: https://codereview.chromium.org/1641743005

Cr-Commit-Position: refs/heads/master@{#372053}
parent 55a85ee5
......@@ -42,7 +42,7 @@ private:
const IntSize m_size;
size_t m_pixelRowStride;
const String m_mimeType;
Persistent<BlobCallback> m_callback;
CrossThreadPersistent<BlobCallback> m_callback;
RefPtr<CanvasAsyncBlobCreator> m_selfRef;
void clearSelfReference();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment