Index: third_party/WebKit/Source/core/html/canvas/CanvasAsyncBlobCreator.h |
diff --git a/third_party/WebKit/Source/core/html/canvas/CanvasAsyncBlobCreator.h b/third_party/WebKit/Source/core/html/canvas/CanvasAsyncBlobCreator.h |
index cae95f3253fa94900a35d387f4a8dcfa635f3e14..24c682a94055acccd1316f920e578e5df4775386 100644 |
--- a/third_party/WebKit/Source/core/html/canvas/CanvasAsyncBlobCreator.h |
+++ b/third_party/WebKit/Source/core/html/canvas/CanvasAsyncBlobCreator.h |
@@ -8,7 +8,6 @@ |
#include "platform/geometry/IntSize.h" |
#include "platform/heap/Handle.h" |
#include "wtf/OwnPtr.h" |
-#include "wtf/PassOwnPtr.h" |
#include "wtf/Vector.h" |
#include "wtf/text/WTFString.h" |
@@ -30,8 +29,6 @@ public: |
private: |
CanvasAsyncBlobCreator(DOMUint8ClampedArray* data, const String& mimeType, const IntSize&, BlobCallback*); |
- void scheduleCreateBlobAndCallOnMainThread(); |
- void scheduleCreateNullptrAndCallOnMainThread(); |
OwnPtr<PNGImageEncoderState> m_pngEncoderState; |
OwnPtr<JPEGImageEncoderState> m_jpegEncoderState; |
@@ -44,9 +41,6 @@ private: |
const String m_mimeType; |
CrossThreadPersistent<BlobCallback> m_callback; |
- SelfKeepAlive<CanvasAsyncBlobCreator> m_keepAlive; |
- void clearSelfReference(); |
- |
void initiatePngEncoding(double deadlineSeconds); |
void scheduleIdleEncodeRowsPng(); |
void idleEncodeRowsPng(double deadlineSeconds); |