[Webkit-unassigned] [Bug 117733] [WK2][GTK] ASSERTION in WebKit::LayerTreeHostGtk::invalidate

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 4 11:50:04 PDT 2013


https://bugs.webkit.org/show_bug.cgi?id=117733





--- Comment #10 from Martin Robinson <mrobinson at webkit.org>  2013-07-04 11:52:03 PST ---
(In reply to comment #9)
> (In reply to comment #8)
> > Perhaps the solution for this is to check host->m_isValid in
> > LayerTreeHostGtk::create and return null from that factory if it's
> > false.
> 
> But we still need to invalidate and destroy the object, so we should
> probably attempt to create the glContext() at the beginning of the
> initialize method then.

I don't think we need to explicitly invalidate the object because when the RefPtr goes out of scope in LayerTreeHostGtk::create, the destructor will clean up its members. The only reason this doesn't happen now is because we call host.release().

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list