| Index: Source/core/html/canvas/WebGLRenderingContextBase.cpp
|
| diff --git a/Source/core/html/canvas/WebGLRenderingContextBase.cpp b/Source/core/html/canvas/WebGLRenderingContextBase.cpp
|
| index f6e130a8b0e8d6ea8f1459cfb7b965b6bfde7bb2..87d72090b9d7aefe8b5c0a3c02e95beffb111b16 100644
|
| --- a/Source/core/html/canvas/WebGLRenderingContextBase.cpp
|
| +++ b/Source/core/html/canvas/WebGLRenderingContextBase.cpp
|
| @@ -701,11 +701,13 @@ WebGLRenderingContextBase::~WebGLRenderingContextBase()
|
|
|
| destroyContext();
|
|
|
| +#if !ENABLE(OILPAN)
|
| if (m_multisamplingObserverRegistered) {
|
| Page* page = canvas()->document().page();
|
| if (page)
|
| page->removeMultisamplingChangedObserver(this);
|
| }
|
| +#endif
|
|
|
| willDestroyContext(this);
|
| }
|
|
|