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

Unified Diff: webkit/common/gpu/context_provider_in_process.cc

Issue 221783002: Revert of gpu: Raise GL_OUT_OF_MEMORY when BeginQueryEXT fails to allocate. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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: webkit/common/gpu/context_provider_in_process.cc
diff --git a/webkit/common/gpu/context_provider_in_process.cc b/webkit/common/gpu/context_provider_in_process.cc
index e9d25584b09ae97ca194017dab3a3774731f4c5e..6f1be9ce25529551336115b95d3f39b10c2da1d3 100644
--- a/webkit/common/gpu/context_provider_in_process.cc
+++ b/webkit/common/gpu/context_provider_in_process.cc
@@ -48,8 +48,7 @@
// static
scoped_refptr<ContextProviderInProcess>
-ContextProviderInProcess::CreateOffscreen(
- bool lose_context_when_out_of_memory) {
+ContextProviderInProcess::CreateOffscreen() {
blink::WebGraphicsContext3D::Attributes attributes;
attributes.depth = false;
attributes.stencil = true;
@@ -59,8 +58,7 @@
return Create(
WebGraphicsContext3DInProcessCommandBufferImpl::CreateOffscreenContext(
- attributes, lose_context_when_out_of_memory),
- "Offscreen");
+ attributes), "Offscreen");
}
ContextProviderInProcess::ContextProviderInProcess(

Powered by Google App Engine
This is Rietveld 408576698