Chromium Code Reviews| Index: Source/modules/filesystem/SyncCallbackHelper.h |
| diff --git a/Source/modules/filesystem/SyncCallbackHelper.h b/Source/modules/filesystem/SyncCallbackHelper.h |
| index 00aa746fdb46ad018c409f1e581b181bca07b13f..c73da5f68aab9f4251473c3a4571ec81ffb121e3 100644 |
| --- a/Source/modules/filesystem/SyncCallbackHelper.h |
| +++ b/Source/modules/filesystem/SyncCallbackHelper.h |
| @@ -54,7 +54,7 @@ struct HelperResultType { |
| DISALLOW_ALLOCATION(); |
| public: |
| typedef PassRefPtrWillBeRawPtr<ResultType> ReturnType; |
| - typedef RefPtrWillBeRawPtr<ResultType> StorageType; |
| + typedef RefPtrWillBeMember<ResultType> StorageType; |
| static ReturnType createFromCallbackArg(CallbackArg argument) |
| { |
| @@ -154,7 +154,7 @@ private: |
| bool m_completed; |
| }; |
| -struct EmptyType : public RefCounted<EmptyType> { |
| +struct EmptyType : public RefCountedWillBeGarbageCollected<EmptyType> { |
|
haraken
2014/03/24 07:05:03
I don't know why this change is needed, but it loo
zerny-chromium
2014/03/24 08:32:28
We can't put non-GC allocated types in members as
|
| static PassRefPtrWillBeRawPtr<EmptyType> create(EmptyType*) |
| { |
| return nullptr; |