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

Unified Diff: Source/modules/imagebitmap/ImageBitmapFactories.h

Issue 323293004: Enable Oilpan for ImageBitmapFactories::ImageBitmapLoader by default. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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 | Source/modules/imagebitmap/ImageBitmapFactories.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/imagebitmap/ImageBitmapFactories.h
diff --git a/Source/modules/imagebitmap/ImageBitmapFactories.h b/Source/modules/imagebitmap/ImageBitmapFactories.h
index b87b05803090c2051302910c10526bf43fc85f36..7ae4e7d148626edd201462bf9195f650fc69771a 100644
--- a/Source/modules/imagebitmap/ImageBitmapFactories.h
+++ b/Source/modules/imagebitmap/ImageBitmapFactories.h
@@ -81,11 +81,11 @@ protected:
static const char* supplementName();
private:
- class ImageBitmapLoader FINAL : public RefCountedWillBeGarbageCollectedFinalized<ImageBitmapLoader>, public FileReaderLoaderClient {
+ class ImageBitmapLoader FINAL : public GarbageCollectedFinalized<ImageBitmapLoader>, public FileReaderLoaderClient {
public:
- static PassRefPtrWillBeRawPtr<ImageBitmapLoader> create(ImageBitmapFactories& factory, const IntRect& cropRect, ScriptState* scriptState)
+ static ImageBitmapLoader* create(ImageBitmapFactories& factory, const IntRect& cropRect, ScriptState* scriptState)
{
- return adoptRefWillBeNoop(new ImageBitmapLoader(factory, cropRect, scriptState));
+ return new ImageBitmapLoader(factory, cropRect, scriptState);
}
void loadBlobAsync(ExecutionContext*, Blob*);
@@ -117,10 +117,10 @@ private:
template<class GlobalObject>
static ImageBitmapFactories& fromInternal(GlobalObject&);
- void addLoader(PassRefPtrWillBeRawPtr<ImageBitmapLoader>);
+ void addLoader(ImageBitmapLoader*);
void didFinishLoading(ImageBitmapLoader*);
- WillBeHeapHashSet<RefPtrWillBeMember<ImageBitmapLoader> > m_pendingLoaders;
+ PersistentHeapHashSetWillBeHeapHashSet<Member<ImageBitmapLoader> > m_pendingLoaders;
};
} // namespace WebCore
« no previous file with comments | « no previous file | Source/modules/imagebitmap/ImageBitmapFactories.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698