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

Unified Diff: ui/compositor/test/test_compositor_host_win.cc

Issue 13555004: Aura: Make compositor_unittests work with --ui-enable-threaded-compositing (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Set the delegates. DCHECK not called if threaded. Created 7 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 | « ui/compositor/test/test_compositor_host_mac.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/test/test_compositor_host_win.cc
diff --git a/ui/compositor/test/test_compositor_host_win.cc b/ui/compositor/test/test_compositor_host_win.cc
index a6d712bcbb4a6dbf417dde2e3d6be2ede422067d..7e635a102d42fe28a32dde6567527d9e73d91fa1 100644
--- a/ui/compositor/test/test_compositor_host_win.cc
+++ b/ui/compositor/test/test_compositor_host_win.cc
@@ -35,6 +35,7 @@ class TestCompositorHostWin : public TestCompositorHost,
// Overridden from CompositorDelegate:
virtual void ScheduleDraw() OVERRIDE {
+ DCHECK(!ui::Compositor::WasInitializedWithThread());
RECT rect;
::GetClientRect(hwnd(), &rect);
InvalidateRect(hwnd(), &rect, FALSE);
« no previous file with comments | « ui/compositor/test/test_compositor_host_mac.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698