Update from https://crrev.com/306655
Includes updates to ui/ and mojo/services for cc and gpu changes and
a minor update to a unit test in sky/ for skia interface changes.
Review URL: https://codereview.chromium.org/761903003
diff --git a/base/synchronization/waitable_event_win.cc b/base/synchronization/waitable_event_win.cc
index ec2d84f..770c582 100644
--- a/base/synchronization/waitable_event_win.cc
+++ b/base/synchronization/waitable_event_win.cc
@@ -20,18 +20,14 @@
CHECK(handle_.IsValid());
}
-WaitableEvent::WaitableEvent(HANDLE handle)
- : handle_(handle) {
+WaitableEvent::WaitableEvent(win::ScopedHandle handle)
+ : handle_(handle.Pass()) {
CHECK(handle_.IsValid()) << "Tried to create WaitableEvent from NULL handle";
}
WaitableEvent::~WaitableEvent() {
}
-HANDLE WaitableEvent::Release() {
- return handle_.Take();
-}
-
void WaitableEvent::Reset() {
ResetEvent(handle_.Get());
}