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

Unified Diff: trunk/src/ui/compositor/test/test_compositor_host_ozone.cc

Issue 441343002: Revert 287747 "Make SingleThreadProxy a SchedulerClient" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 4 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: trunk/src/ui/compositor/test/test_compositor_host_ozone.cc
===================================================================
--- trunk/src/ui/compositor/test/test_compositor_host_ozone.cc (revision 287765)
+++ trunk/src/ui/compositor/test/test_compositor_host_ozone.cc (working copy)
@@ -27,6 +27,8 @@
virtual void Show() OVERRIDE;
virtual ui::Compositor* GetCompositor() OVERRIDE;
+ void Draw();
+
gfx::Rect bounds_;
ui::ContextFactory* context_factory_;
@@ -62,6 +64,11 @@
return compositor_.get();
}
+void TestCompositorHostOzone::Draw() {
+ if (compositor_.get())
+ compositor_->Draw();
+}
+
// static
TestCompositorHost* TestCompositorHost::Create(
const gfx::Rect& bounds,
« no previous file with comments | « trunk/src/ui/compositor/test/test_compositor_host_mac.mm ('k') | trunk/src/ui/compositor/test/test_compositor_host_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698