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

Unified Diff: ui/ozone/platform/x11/x11_surface_factory.cc

Issue 2409263002: Revert of Add ThreadChecker for Ozone X11 GPU. (Closed)
Patch Set: Created 4 years, 2 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/ozone/platform/x11/x11_surface_factory.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/x11/x11_surface_factory.cc
diff --git a/ui/ozone/platform/x11/x11_surface_factory.cc b/ui/ozone/platform/x11/x11_surface_factory.cc
index 484dc650f7d9b18d71fecab9b3d6c7f9efb294e7..bb92d7eba3b4317b6aacffeb78eca828ec7a7843 100644
--- a/ui/ozone/platform/x11/x11_surface_factory.cc
+++ b/ui/ozone/platform/x11/x11_surface_factory.cc
@@ -158,7 +158,6 @@
std::vector<gl::GLImplementation>
X11SurfaceFactory::GetAllowedGLImplementations() {
- DCHECK(thread_checker_.CalledOnValidThread());
std::vector<gl::GLImplementation> impls;
impls.push_back(gl::kGLImplementationEGLGLES2);
// DesktopGL (GLX) should be the first option when crbug.com/646982 is fixed.
@@ -168,7 +167,6 @@
}
GLOzone* X11SurfaceFactory::GetGLOzone(gl::GLImplementation implementation) {
- DCHECK(thread_checker_.CalledOnValidThread());
switch (implementation) {
case gl::kGLImplementationDesktopGL:
return glx_implementation_.get();
« no previous file with comments | « ui/ozone/platform/x11/x11_surface_factory.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698