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

Unified Diff: Source/core/platform/graphics/Extensions3D.cpp

Issue 16032003: Fixing Canvas2DLayerBridge to handle lost graphics contexts (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Added Layout test and necessary content_shell API to test context loss Created 7 years, 6 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/platform/graphics/Extensions3D.cpp
diff --git a/Source/core/platform/graphics/Extensions3D.cpp b/Source/core/platform/graphics/Extensions3D.cpp
index 402d107fa4d7c3fcd5e5fd19e4096bf2b394d43d..8da77819572285396928280f670e50517fef6aff 100644
--- a/Source/core/platform/graphics/Extensions3D.cpp
+++ b/Source/core/platform/graphics/Extensions3D.cpp
@@ -230,4 +230,9 @@ void Extensions3D::drawBuffersEXT(GC3Dsizei n, const GC3Denum* bufs)
m_context->webContext()->drawBuffersEXT(n, bufs);
}
+void Extensions3D::loseContextCHROMIUM(GC3Denum current, GC3Denum other)
+{
+ m_context->webContext()->loseContextCHROMIUM(current, other);
+}
+
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698