Index: third_party/WebKit/Source/platform/graphics/gpu/SharedGpuContext.h |
diff --git a/third_party/WebKit/Source/platform/graphics/gpu/SharedGpuContext.h b/third_party/WebKit/Source/platform/graphics/gpu/SharedGpuContext.h |
index cbd4fe925ae5a5501e89c78ef446d2028e002832..d773626ae34c65d41256a883f3d72d4ea92120c4 100644 |
--- a/third_party/WebKit/Source/platform/graphics/gpu/SharedGpuContext.h |
+++ b/third_party/WebKit/Source/platform/graphics/gpu/SharedGpuContext.h |
@@ -34,6 +34,9 @@ class PLATFORM_EXPORT SharedGpuContext { |
Gl(); // May re-create context if context was lost |
static GrContext* Gr(); // May re-create context if context was lost |
static bool IsValid(); // May re-create context if context was lost |
+ // May re-create context if context was lost |
+ static bool AllowSoftwareToAcceleratedCanvasUpgrade(); |
+ |
static bool IsValidWithoutRestoring(); |
typedef std::function<std::unique_ptr<WebGraphicsContext3DProvider>()> |
ContextProviderFactory; |