Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1150)

Unified Diff: Source/core/html/canvas/WebGLLoseContext.cpp

Issue 15876011: Make WebGL extensions get lost when context is lost. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/html/canvas/WebGLLoseContext.cpp
diff --git a/Source/core/html/canvas/WebGLLoseContext.cpp b/Source/core/html/canvas/WebGLLoseContext.cpp
index 49b3a72fcc5e3eddda884f7068e8ef4ecd791299..b4280d18b99c6e207512cd0112a0af5d203ff8ee 100644
--- a/Source/core/html/canvas/WebGLLoseContext.cpp
+++ b/Source/core/html/canvas/WebGLLoseContext.cpp
@@ -41,6 +41,15 @@ WebGLLoseContext::~WebGLLoseContext()
{
}
+void WebGLLoseContext::enable()
+{
+}
+
+void WebGLLoseContext::lose()
+{
+ // WebGLLostContext is special in that it is never lost.
+}
+
WebGLExtension::ExtensionName WebGLLoseContext::getName() const
{
return WebGLLoseContextName;

Powered by Google App Engine
This is Rietveld 408576698