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

Unified Diff: ui/gfx/compositor/test_compositor.cc

Issue 8222028: Use WebKit compositor in ui::Layer (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: rebase Created 9 years, 2 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 | « ui/gfx/compositor/test_compositor.h ('k') | ui/gfx/compositor/test_compositor_host_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/compositor/test_compositor.cc
diff --git a/ui/gfx/compositor/test_compositor.cc b/ui/gfx/compositor/test_compositor.cc
index 311a9239b6c27ed4e1a07712803aafa3109c74d4..f34021e50710170830e005bbbd72aadaf0bf05de 100644
--- a/ui/gfx/compositor/test_compositor.cc
+++ b/ui/gfx/compositor/test_compositor.cc
@@ -40,6 +40,12 @@ void TestCompositor::OnNotifyEnd() {
void TestCompositor::Blur(const gfx::Rect& bounds) {
}
+void TestCompositor::DrawTree() {
+#if !defined(USE_WEBKIT_COMPOSITOR)
+ Compositor::DrawTree();
+#endif
+}
+
void TestCompositor::OnWidgetSizeChanged() {
}
« no previous file with comments | « ui/gfx/compositor/test_compositor.h ('k') | ui/gfx/compositor/test_compositor_host_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698