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

Unified Diff: views/widget/native_widget_gtk.cc

Issue 7770002: gfx::Compositor: SchedulePaint. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 years, 3 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
« ui/gfx/compositor/compositor_gl.cc ('K') | « views/widget/native_widget_gtk.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/widget/native_widget_gtk.cc
diff --git a/views/widget/native_widget_gtk.cc b/views/widget/native_widget_gtk.cc
index 3db5d9156b28add9b005181cd87e07e4c604eafa..82044337893e6fba2cb0f3df02c6965d84db1613 100644
--- a/views/widget/native_widget_gtk.cc
+++ b/views/widget/native_widget_gtk.cc
@@ -675,7 +675,7 @@ void NativeWidgetGtk::InitNativeWidget(const Widget::InitParams& params) {
gint width, height;
gdk_drawable_get_size(window_contents_->window, &width, &height);
compositor_ = ui::Compositor::Create(
- GDK_WINDOW_XID(window_contents_->window),
+ this,
gfx::Size(width, height));
}
if (compositor_.get())
« ui/gfx/compositor/compositor_gl.cc ('K') | « views/widget/native_widget_gtk.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698