Index: ui/views/controls/native/native_view_host_aura.cc |
diff --git a/ui/views/controls/native/native_view_host_aura.cc b/ui/views/controls/native/native_view_host_aura.cc |
index 2a7d914d6840c588ae3b16e66ba0381056dd8729..6bf4ce8a3db8b3376e5d6436414bd0d549e84902 100644 |
--- a/ui/views/controls/native/native_view_host_aura.cc |
+++ b/ui/views/controls/native/native_view_host_aura.cc |
@@ -138,7 +138,7 @@ void NativeViewHostAura::InstallClip(int x, int y, int w, int h) { |
} |
bool NativeViewHostAura::HasInstalledClip() { |
- return clip_rect_; |
+ return !!clip_rect_; |
} |
void NativeViewHostAura::UninstallClip() { |