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

Unified Diff: views/controls/native/native_view_host_gtk.h

Issue 7171025: Fix flicker on tab switch on chromeos. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Null out host_widget_ after removing it Created 9 years, 6 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: views/controls/native/native_view_host_gtk.h
diff --git a/views/controls/native/native_view_host_gtk.h b/views/controls/native/native_view_host_gtk.h
index 0ecfd991100cf4ff5393fc0d65adb005de524c5b..afb3532973923cd938fdce25b4c60977afafd220 100644
--- a/views/controls/native/native_view_host_gtk.h
+++ b/views/controls/native/native_view_host_gtk.h
@@ -86,6 +86,9 @@ class NativeViewHostGtk : public NativeViewHostWrapper {
// clipping).
GtkWidget* fixed_;
+ // The native view contained within fixed_.
+ GtkWidget* host_widget_;
sky 2011/07/01 20:00:38 How come you need to cache this? If it's because o
DaveMoore 2011/07/01 20:13:34 This is cached because by the time of the destruct
+
DISALLOW_COPY_AND_ASSIGN(NativeViewHostGtk);
};
« no previous file with comments | « no previous file | views/controls/native/native_view_host_gtk.cc » ('j') | views/controls/native/native_view_host_gtk.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698