void WebNotification::assign(const WebNotification& other) { WebNotificationPrivate* p = const_cast<WebNotificationPrivate*>(other.m_private); if (p) p->ref(); assign(p); }
void WebNotification::assign(const WebNotification& other) { WebNotificationPrivate* p = const_cast<WebNotificationPrivate*>(other.m_private); if (p) p->ref(); // FIXME: We should use WebPrivatePtr. assign(p); }