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

Unified Diff: Source/web/WebViewImpl.cpp

Issue 1238083002: Oilpan: Move the EventListener hierarchy to Oilpan's heap (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 5 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/web/WebViewImpl.cpp
diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp
index c5e2c0f3557d6050334b91396e17eaa3f3c3ec42..9136c042f5b298657c53482e44684d4edbbbe211 100644
--- a/Source/web/WebViewImpl.cpp
+++ b/Source/web/WebViewImpl.cpp
@@ -271,9 +271,9 @@ UserGestureNotifier::~UserGestureNotifier()
class EmptyEventListener final : public EventListener {
public:
- static PassRefPtr<EmptyEventListener> create()
+ static PassRefPtrWillBeRawPtr<EmptyEventListener> create()
{
- return adoptRef(new EmptyEventListener());
+ return adoptRefWillBeNoop(new EmptyEventListener());
}
bool operator==(const EventListener& other) override

Powered by Google App Engine
This is Rietveld 408576698