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

Unified Diff: ui/compositor/test/in_process_context_provider.cc

Issue 1900993002: Move SharedMemoryLimits out of WebGraphicsContext3DCommandBufferImpl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@limits
Patch Set: move-limits: types Created 4 years, 8 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
« no previous file with comments | « ui/compositor/test/in_process_context_provider.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/test/in_process_context_provider.cc
diff --git a/ui/compositor/test/in_process_context_provider.cc b/ui/compositor/test/in_process_context_provider.cc
index 591eedc3bb5f570b072b5e84e119c2de376ef24a..78953b70ebc4e2bce95cace41d926af00a2c860d 100644
--- a/ui/compositor/test/in_process_context_provider.cc
+++ b/ui/compositor/test/in_process_context_provider.cc
@@ -96,8 +96,6 @@ bool InProcessContextProvider::BindToCurrentThread() {
return false;
}
- capabilities_.gpu = context_->GetImplementation()->capabilities();
-
std::string unique_context_name =
base::StringPrintf("%s-%p", debug_name_.c_str(), context_.get());
context_->GetImplementation()->TraceBeginCHROMIUM(
@@ -110,10 +108,9 @@ void InProcessContextProvider::DetachFromThread() {
context_thread_checker_.DetachFromThread();
}
-cc::ContextProvider::Capabilities
-InProcessContextProvider::ContextCapabilities() {
+gpu::Capabilities InProcessContextProvider::ContextCapabilities() {
DCHECK(context_thread_checker_.CalledOnValidThread());
- return capabilities_;
+ return context_->GetImplementation()->capabilities();
}
gpu::gles2::GLES2Interface* InProcessContextProvider::ContextGL() {
« no previous file with comments | « ui/compositor/test/in_process_context_provider.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698