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

Unified Diff: content/child/child_io_surface_manager_mac.cc

Issue 1248713002: ozone: ClientPixmapManager passes VGEM fd from browser to renderer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rollback to use PlatformThreadRef Created 5 years, 4 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 | « content/child/child_io_surface_manager_mac.h ('k') | content/child/child_thread_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/child_io_surface_manager_mac.cc
diff --git a/content/child/child_io_surface_manager_mac.cc b/content/child/child_io_surface_manager_mac.cc
index 1e5665afd0afaf05a556c104833c40d8a8879382..ab97793e650d02389a58ce8d8f5399276d41b612 100644
--- a/content/child/child_io_surface_manager_mac.cc
+++ b/content/child/child_io_surface_manager_mac.cc
@@ -96,7 +96,7 @@ IOSurfaceRef ChildIOSurfaceManager::AcquireIOSurface(int io_surface_id) {
// A valid token is required to acquire an IOSurface. This will wait for a
// valid token if one has not yet been set.
set_token_event_.Wait();
-#if !defined(NDEBUG)
+#if DCHECK_IS_ON()
DCHECK(!(set_token_thread_id_ == base::PlatformThread::CurrentRef()));
dshwang 2015/08/18 16:15:34 I rollback to PlatformThreadRef. I don't use base:
#endif
DCHECK(!token_.IsZero());
« no previous file with comments | « content/child/child_io_surface_manager_mac.h ('k') | content/child/child_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698