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

Unified Diff: ui/gl/gl_fence_egl.cc

Issue 496313004: Remove implicit conversions from scoped_refptr to T* in ui/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
Index: ui/gl/gl_fence_egl.cc
diff --git a/ui/gl/gl_fence_egl.cc b/ui/gl/gl_fence_egl.cc
index 458360b71f150735a9a70f6b3d38b8aee41de227..ebc33bf9a95d63f9d41ef8f65c09879feab5d6df 100644
--- a/ui/gl/gl_fence_egl.cc
+++ b/ui/gl/gl_fence_egl.cc
@@ -32,7 +32,7 @@ bool GLFenceEGL::HasCompleted() {
}
void GLFenceEGL::ClientWait() {
- if (!flush_event_ || flush_event_->IsSignaled()) {
+ if (!flush_event_.get() || flush_event_->IsSignaled()) {
EGLint flags = 0;
EGLTimeKHR time = EGL_FOREVER_KHR;
eglClientWaitSyncKHR(display_, sync_, flags, time);
@@ -42,7 +42,7 @@ void GLFenceEGL::ClientWait() {
}
void GLFenceEGL::ServerWait() {
- if (!flush_event_ || flush_event_->IsSignaled()) {
+ if (!flush_event_.get() || flush_event_->IsSignaled()) {
EGLint flags = 0;
eglWaitSyncKHR(display_, sync_, flags);
} else {

Powered by Google App Engine
This is Rietveld 408576698