Index: webkit/common/gpu/context_provider_in_process.h |
diff --git a/webkit/common/gpu/context_provider_in_process.h b/webkit/common/gpu/context_provider_in_process.h |
index fc1d15c5e69e292b091e175ccaa8204dd6539ba6..c42585f003c24c29ff8f0cd385873a91bc46f86e 100644 |
--- a/webkit/common/gpu/context_provider_in_process.h |
+++ b/webkit/common/gpu/context_provider_in_process.h |
@@ -26,9 +26,9 @@ class WEBKIT_GPU_EXPORT ContextProviderInProcess |
scoped_ptr<WebGraphicsContext3DInProcessCommandBufferImpl> context3d, |
const std::string& debug_name); |
- // Calls Create() with a default factory method for creating an offscreen |
- // context. |
- static scoped_refptr<ContextProviderInProcess> CreateOffscreen(); |
+ // Uses default attributes for creating an offscreen context. |
+ static scoped_refptr<ContextProviderInProcess> CreateOffscreen( |
+ bool lose_context_when_out_of_memory); |
virtual blink::WebGraphicsContext3D* WebContext3D() OVERRIDE; |