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

Unified Diff: third_party/WebKit/Source/core/html/canvas/CanvasAsyncBlobCreator.h

Issue 1882563003: Remove unnecessary CanvasAsyncBlobCreator keep alive protection. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/html/canvas/CanvasAsyncBlobCreator.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/html/canvas/CanvasAsyncBlobCreator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698