Bug 139830

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 Flags
Patch
none
Patch none

peavo
Reported 2014-12-19 12:54:13 PST
There is missing a null pointer check.
Attachments
Patch (1.47 KB, patch)
2014-12-19 12:57 PST, peavo
no flags
Patch (1.35 KB, patch)
2014-12-19 13:30 PST, peavo
no flags
peavo
Comment 1 2014-12-19 12:57:31 PST
Alex Christensen
Comment 2 2014-12-19 13:25:34 PST
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)?
peavo
Comment 3 2014-12-19 13:30:20 PST
peavo
Comment 4 2014-12-19 13:31:02 PST
(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.
WebKit Commit Bot
Comment 5 2014-12-19 14:06:24 PST
Comment on attachment 243572 [details] Patch Clearing flags on attachment: 243572 Committed r177595: <http://trac.webkit.org/changeset/177595>
WebKit Commit Bot
Comment 6 2014-12-19 14:06:29 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.