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

Unified Diff: third_party/WebKit/Source/core/imagebitmap/ImageBitmapFactories.h

Issue 1781613002: Fix data race problem in createImageBitmap(Blob) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix data rance layout test Created 4 years, 9 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/core/imagebitmap/ImageBitmapFactories.h
diff --git a/third_party/WebKit/Source/core/imagebitmap/ImageBitmapFactories.h b/third_party/WebKit/Source/core/imagebitmap/ImageBitmapFactories.h
index a49221570a68d0c81372956ee03fe9e9c45b60bf..239626d193534c2fb510e72ec480f98664aa5450 100644
--- a/third_party/WebKit/Source/core/imagebitmap/ImageBitmapFactories.h
+++ b/third_party/WebKit/Source/core/imagebitmap/ImageBitmapFactories.h
@@ -40,6 +40,7 @@
#include "core/imagebitmap/ImageBitmapOptions.h"
#include "platform/Supplementable.h"
#include "platform/geometry/IntRect.h"
+#include "third_party/skia/include/core/SkImage.h"
namespace blink {
@@ -94,7 +95,7 @@ private:
void scheduleAsyncImageBitmapDecoding();
void decodeImageOnDecoderThread(WebTaskRunner*);
- void resolvePromiseOnOriginalThread(PassOwnPtr<ImageDecoder>);
+ void resolvePromiseOnOriginalThread(PassRefPtr<SkImage>);
// FileReaderLoaderClient
void didStartLoading() override { }

Powered by Google App Engine
This is Rietveld 408576698