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

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 0ea604cb6c51abeec3a85071eff36d4bd5fe839b..ff095b21e8c3f278e42a72b72f82fe26e9f88374 100644
--- a/Source/web/WebViewImpl.cpp
+++ b/Source/web/WebViewImpl.cpp
@@ -272,9 +272,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