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

Unified Diff: ui/views/controls/native/native_view_host_aura.cc

Issue 1609923002: Fix remaining incompatibilities between scoped_ptr and unique_ptr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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/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() {

Powered by Google App Engine
This is Rietveld 408576698