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

Unified Diff: ui/gfx/shared_event.cc

Issue 2384243003: ui: Add libsync GLFence implementation.
Patch Set: rebase 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/gfx/shared_event.h ('k') | ui/gl/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/shared_event.cc
diff --git a/ui/gfx/shared_event.cc b/ui/gfx/shared_event.cc
index b19d0329df127f934081e32bc2456e078f5aa9a4..396ad1a2929deabf3d593e9ccad92750ad1f9cae 100644
--- a/ui/gfx/shared_event.cc
+++ b/ui/gfx/shared_event.cc
@@ -48,6 +48,11 @@ SharedEventHandle SharedEvent::CreateForProcess(base::ProcessHandle process) {
}
// static
+bool SharedEvent::IsHandleValid(const SharedEventHandle& handle) {
+ return base::SharedMemory::IsHandleValid(handle);
+}
+
+// static
SharedEventHandle SharedEvent::DuplicateHandle(
const SharedEventHandle& handle) {
return base::SharedMemory::DuplicateHandle(handle);
« no previous file with comments | « ui/gfx/shared_event.h ('k') | ui/gl/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698