Index: content/browser/compositor/delegated_frame_host.h |
diff --git a/content/browser/compositor/delegated_frame_host.h b/content/browser/compositor/delegated_frame_host.h |
index 21dc4e0c8f95341b2ca5e2cbbdbcb27b28ed4bf4..d1237afa01148081227773243c8e214e9fefa748 100644 |
--- a/content/browser/compositor/delegated_frame_host.h |
+++ b/content/browser/compositor/delegated_frame_host.h |
@@ -155,7 +155,7 @@ class CONTENT_EXPORT DelegatedFrameHost |
void BeginFrameSubscription( |
scoped_ptr<RenderWidgetHostViewFrameSubscriber> subscriber); |
void EndFrameSubscription(); |
- bool HasFrameSubscriber() const { return frame_subscriber_; } |
+ bool HasFrameSubscriber() const { return !!frame_subscriber_; } |
uint32_t GetSurfaceIdNamespace(); |
// Returns a null SurfaceId if this DelegatedFrameHost has not yet created |
// a compositor Surface. |