| Index: android_webview/browser/aw_render_thread_context_provider.cc
|
| diff --git a/android_webview/browser/aw_render_thread_context_provider.cc b/android_webview/browser/aw_render_thread_context_provider.cc
|
| index 18c7087096045758bb697c19b8a9763d8eed64c9..93251fa6604a923d66b63f99a0db2a4858fd6abc 100644
|
| --- a/android_webview/browser/aw_render_thread_context_provider.cc
|
| +++ b/android_webview/browser/aw_render_thread_context_provider.cc
|
| @@ -58,8 +58,6 @@ AwRenderThreadContextProvider::AwRenderThreadContextProvider(
|
|
|
| context_->GetImplementation()->SetLostContextCallback(base::Bind(
|
| &AwRenderThreadContextProvider::OnLostContext, base::Unretained(this)));
|
| -
|
| - capabilities_.gpu = context_->GetImplementation()->capabilities();
|
| }
|
|
|
| AwRenderThreadContextProvider::~AwRenderThreadContextProvider() {
|
| @@ -75,11 +73,9 @@ bool AwRenderThreadContextProvider::BindToCurrentThread() {
|
| return true;
|
| }
|
|
|
| -cc::ContextProvider::Capabilities
|
| -AwRenderThreadContextProvider::ContextCapabilities() {
|
| +gpu::Capabilities AwRenderThreadContextProvider::ContextCapabilities() {
|
| DCHECK(main_thread_checker_.CalledOnValidThread());
|
| -
|
| - return capabilities_;
|
| + return context_->GetImplementation()->capabilities();
|
| }
|
|
|
| gpu::gles2::GLES2Interface* AwRenderThreadContextProvider::ContextGL() {
|
|
|