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

Unified Diff: content/common/gpu/client/context_provider_command_buffer.cc

Issue 2383613005: Android: Second attempt at freeing GLHelper ashmem (Closed)
Patch Set: doh Created 4 years, 3 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: content/common/gpu/client/context_provider_command_buffer.cc
diff --git a/content/common/gpu/client/context_provider_command_buffer.cc b/content/common/gpu/client/context_provider_command_buffer.cc
index f81aa3c4944b126fc13c08dd54065a3fb4dd2a2b..e717ac253b396ced39fdf64bb026aab00962333c 100644
--- a/content/common/gpu/client/context_provider_command_buffer.cc
+++ b/content/common/gpu/client/context_provider_command_buffer.cc
@@ -119,11 +119,6 @@ uint32_t ContextProviderCommandBuffer::GetCopyTextureInternalFormat() {
return GL_RGB;
}
-void ContextProviderCommandBuffer::FreeUnusedSharedMemory() {
- if (bind_succeeded_)
- gles2_impl_->FreeUnusedSharedMemory();
-}
-
bool ContextProviderCommandBuffer::BindToCurrentThread() {
// This is called on the thread the context will be used.
DCHECK(context_thread_checker_.CalledOnValidThread());

Powered by Google App Engine
This is Rietveld 408576698