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

Unified Diff: Source/modules/screen_orientation/LockOrientationCallback.h

Issue 1233173002: Have ScriptPromiseResolver on the Oilpan heap always. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fix webusb ScriptPromiseResolver usage Created 5 years, 4 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/screen_orientation/LockOrientationCallback.h
diff --git a/Source/modules/screen_orientation/LockOrientationCallback.h b/Source/modules/screen_orientation/LockOrientationCallback.h
index b984362f0ad9311e6f8896e5302d0566f5b4e872..74bc20d45616cd5119394a8b6e9c0f9227d270ff 100644
--- a/Source/modules/screen_orientation/LockOrientationCallback.h
+++ b/Source/modules/screen_orientation/LockOrientationCallback.h
@@ -22,14 +22,14 @@ class ScriptPromiseResolver;
class LockOrientationCallback final : public WebLockOrientationCallback {
WTF_MAKE_NONCOPYABLE(LockOrientationCallback);
public:
- explicit LockOrientationCallback(PassRefPtrWillBeRawPtr<ScriptPromiseResolver>);
+ explicit LockOrientationCallback(ScriptPromiseResolver*);
~LockOrientationCallback() override;
void onSuccess() override;
void onError(WebLockOrientationError) override;
private:
- RefPtrWillBePersistent<ScriptPromiseResolver> m_resolver;
+ Persistent<ScriptPromiseResolver> m_resolver;
};
} // namespace blink
« no previous file with comments | « Source/modules/quota/StorageQuotaCallbacksImpl.cpp ('k') | Source/modules/screen_orientation/LockOrientationCallback.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698