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

Unified Diff: Source/modules/filesystem/SyncCallbackHelper.h

Issue 314333002: Enable Oilpan by default in modules/filesystem/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Tidy up 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
Index: Source/modules/filesystem/SyncCallbackHelper.h
diff --git a/Source/modules/filesystem/SyncCallbackHelper.h b/Source/modules/filesystem/SyncCallbackHelper.h
index 4edb746050151409db1ab72d6f774be01034b5ea..0e24d5921641b45156f55f2df58f12bbb812b83d 100644
--- a/Source/modules/filesystem/SyncCallbackHelper.h
+++ b/Source/modules/filesystem/SyncCallbackHelper.h
@@ -53,8 +53,8 @@ template <typename ResultType, typename CallbackArg>
struct HelperResultType {
DISALLOW_ALLOCATION();
public:
- typedef PassRefPtrWillBeRawPtr<ResultType> ReturnType;
- typedef RefPtrWillBePersistent<ResultType> StorageType;
+ typedef ResultType* ReturnType;
+ typedef Persistent<ResultType> StorageType;
static ReturnType createFromCallbackArg(CallbackArg argument)
{
@@ -157,8 +157,8 @@ private:
bool m_completed;
};
-struct EmptyType : public RefCountedWillBeGarbageCollected<EmptyType> {
- static PassRefPtrWillBeRawPtr<EmptyType> create(EmptyType*)
+struct EmptyType : public GarbageCollected<EmptyType> {
+ static EmptyType* create(EmptyType*)
{
return nullptr;
}

Powered by Google App Engine
This is Rietveld 408576698