From 8159f0b7baee0d52d7c743c6b96f36d1fb61cdac Mon Sep 17 00:00:00 2001 From: Jocelyn Turcotte Date: Mon, 16 Jun 2014 14:42:15 +0200 Subject: Explicitly return false in WasAllocatedUsingRobustnessExtension This is the default behavior of gfx::GLContext, but explicitly do it for documentation purpose and cover the case of the behavior of gfx::GLContext would change in the future. This also updates the submodule to include the change that uses this value. Change-Id: I214376d92b4f9f11bd491c2b1263cf8159e5779f Reviewed-by: Andras Becsi --- src/core/content_browser_client_qt.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/core') diff --git a/src/core/content_browser_client_qt.cpp b/src/core/content_browser_client_qt.cpp index 857d9eef9..c70b2993e 100644 --- a/src/core/content_browser_client_qt.cpp +++ b/src/core/content_browser_client_qt.cpp @@ -235,6 +235,8 @@ public: } virtual void* GetHandle() Q_DECL_OVERRIDE { return m_handle; } + // Qt currently never creates contexts using robustness attributes. + virtual bool WasAllocatedUsingRobustnessExtension() { return false; } // We don't care about the rest, this context shouldn't be used except for its handle. virtual bool Initialize(gfx::GLSurface *, gfx::GpuPreference) Q_DECL_OVERRIDE { Q_UNREACHABLE(); return false; } -- cgit v1.2.3