| Index: Source/core/html/canvas/WebGLLoseContext.cpp
|
| diff --git a/Source/core/html/canvas/WebGLLoseContext.cpp b/Source/core/html/canvas/WebGLLoseContext.cpp
|
| index 5238316fe2c7155ff1324584ed1b412ab1b0c728..641dc759744719fe74a0a6604bd98479967443af 100644
|
| --- a/Source/core/html/canvas/WebGLLoseContext.cpp
|
| +++ b/Source/core/html/canvas/WebGLLoseContext.cpp
|
| @@ -27,11 +27,11 @@
|
|
|
| #include "core/html/canvas/WebGLLoseContext.h"
|
|
|
| -#include "core/html/canvas/WebGLRenderingContext.h"
|
| +#include "core/html/canvas/WebGLRenderingContextBase.h"
|
|
|
| namespace WebCore {
|
|
|
| -WebGLLoseContext::WebGLLoseContext(WebGLRenderingContext* context)
|
| +WebGLLoseContext::WebGLLoseContext(WebGLRenderingContextBase* context)
|
| : WebGLExtension(context)
|
| {
|
| ScriptWrappable::init(this);
|
| @@ -52,7 +52,7 @@ WebGLExtension::ExtensionName WebGLLoseContext::getName() const
|
| return WebGLLoseContextName;
|
| }
|
|
|
| -PassRefPtr<WebGLLoseContext> WebGLLoseContext::create(WebGLRenderingContext* context)
|
| +PassRefPtr<WebGLLoseContext> WebGLLoseContext::create(WebGLRenderingContextBase* context)
|
| {
|
| return adoptRef(new WebGLLoseContext(context));
|
| }
|
| @@ -60,7 +60,7 @@ PassRefPtr<WebGLLoseContext> WebGLLoseContext::create(WebGLRenderingContext* con
|
| void WebGLLoseContext::loseContext()
|
| {
|
| if (!isLost())
|
| - m_context->forceLostContext(WebGLRenderingContext::SyntheticLostContext);
|
| + m_context->forceLostContext(WebGLRenderingContextBase::SyntheticLostContext);
|
| }
|
|
|
| void WebGLLoseContext::restoreContext()
|
| @@ -69,7 +69,7 @@ void WebGLLoseContext::restoreContext()
|
| m_context->forceRestoreContext();
|
| }
|
|
|
| -bool WebGLLoseContext::supported(WebGLRenderingContext*)
|
| +bool WebGLLoseContext::supported(WebGLRenderingContextBase*)
|
| {
|
| return true;
|
| }
|
|
|