Changeset 74516 in webkit
- Timestamp:
- Dec 22, 2010 4:27:00 PM (13 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r74515 r74516 1 2010-12-22 Adrienne Walker <enne@google.com> 2 3 Reviewed by Kenneth Russell. 4 5 Fix null pointer deref when restoring a lost WebGL context. 6 https://bugs.webkit.org/show_bug.cgi?id=51494 7 8 No new tests, as context restored events are not currently testable. 9 10 * html/canvas/WebGLRenderingContext.cpp: 11 (WebCore::WebGLRenderingContext::initializeNewContext): 12 (WebCore::WebGLRenderingContext::restoreContext): 13 1 14 2010-12-22 Adam Bergkvist <adam.bergkvist@ericsson.com> 2 15 -
trunk/WebCore/html/canvas/WebGLRenderingContext.cpp
r74497 r74516 141 141 void WebGLRenderingContext::initializeNewContext() 142 142 { 143 ASSERT(!m_contextLost); 143 144 m_needsUpdate = true; 144 145 m_markedCanvasDirty = false; … … 3326 3327 3327 3328 m_context = context; 3329 m_contextLost = false; 3328 3330 initializeNewContext(); 3329 m_contextLost = false;3330 3331 canvas()->dispatchEvent(WebGLContextEvent::create(eventNames().webglcontextrestoredEvent, false, true, "")); 3331 3332 }
Note: See TracChangeset
for help on using the changeset viewer.