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

Unified Diff: ui/base/glib/scoped_gobject.h

Issue 2854773002: Gtk3: Fix black patches on GtkFileChooser dialogs (Closed)
Patch Set: . Created 3 years, 8 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
« no previous file with comments | « chrome/browser/ui/libgtkui/native_theme_gtk3.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/glib/scoped_gobject.h
diff --git a/ui/base/glib/scoped_gobject.h b/ui/base/glib/scoped_gobject.h
index abd81b86ccda222f40c032df43a5b9db8a7796ff..119fb1ba8e2d510be0adf60498037d2ef5a6fcd9 100644
--- a/ui/base/glib/scoped_gobject.h
+++ b/ui/base/glib/scoped_gobject.h
@@ -30,6 +30,8 @@ class ScopedGObject {
return *this;
}
+ T* get() { return obj_; }
+
operator T*() { return obj_; }
void reset(T* obj = nullptr) {
« no previous file with comments | « chrome/browser/ui/libgtkui/native_theme_gtk3.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698