WeakPtrFactory should populate m_ref lazily.
[WebKit-https.git] / Source / WebKit / UIProcess / gtk / WaylandCompositor.cpp
index 4c34e90..b6ab864 100644 (file)
@@ -97,7 +97,6 @@ WaylandCompositor::Buffer* WaylandCompositor::Buffer::getOrCreate(struct wl_reso
 
 WaylandCompositor::Buffer::Buffer(struct wl_resource* resource)
     : m_resource(resource)
-    , m_weakPtrFactory(this)
 {
     wl_list_init(&m_destroyListener.link);
     m_destroyListener.notify = destroyListenerCallback;