| Summary: | [WinCairo] Crash after failing to create GL context in accelerated compositing mode. | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | peavo | ||||||
| Component: | WebKit Misc. | Assignee: | Nobody <webkit-unassigned> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | alex.christensen, bfulgham, commit-queue | ||||||
| Priority: | P2 | ||||||||
| Version: | 528+ (Nightly build) | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Attachments: |
|
||||||||
|
Description
peavo
2014-12-19 12:54:13 PST
Created attachment 243569 [details]
Patch
Comment on attachment 243569 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=243569&action=review > Source/WebKit/win/WebCoreSupport/AcceleratedCompositingContext.cpp:99 > + m_context = GLContext::createContextForWindow(m_window, GLContext::sharingContext()); What if we already have a context? Shouldn't this also be in an if (!m_context)? Created attachment 243572 [details]
Patch
(In reply to comment #2) > Comment on attachment 243569 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=243569&action=review > > > Source/WebKit/win/WebCoreSupport/AcceleratedCompositingContext.cpp:99 > > + m_context = GLContext::createContextForWindow(m_window, GLContext::sharingContext()); > > What if we already have a context? Shouldn't this also be in an if > (!m_context)? Thanks for reviewing :) Updated patch. Comment on attachment 243572 [details] Patch Clearing flags on attachment: 243572 Committed r177595: <http://trac.webkit.org/changeset/177595> All reviewed patches have been landed. Closing bug. |