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

Unified Diff: ui/compositor/test/test_compositor_host_mac.mm

Issue 11412289: Basic pixel tests for cc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix AtExitManager registration stuff Created 8 years 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/layer_unittest.cc ('k') | ui/gl/gl_implementation_mac.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/test/test_compositor_host_mac.mm
diff --git a/ui/compositor/test/test_compositor_host_mac.mm b/ui/compositor/test/test_compositor_host_mac.mm
index e808b80abd4f13142c8c29b21ed17fb55164744e..3d237aab58fceca9662a768f9b250101112c7ba1 100644
--- a/ui/compositor/test/test_compositor_host_mac.mm
+++ b/ui/compositor/test/test_compositor_host_mac.mm
@@ -127,8 +127,7 @@ void TestCompositorHostMac::Show() {
backing:NSBackingStoreBuffered
defer:NO];
scoped_nsobject<AcceleratedTestView> view([[AcceleratedTestView alloc] init]);
- compositor_.reset(new ui::Compositor(this, view));
- compositor_->SetScaleAndSize(1.0f, bounds_.size());
+ compositor_.reset(new ui::Compositor(this, view, bounds_.size()));
[view setCompositor:compositor_.get()];
[window_ setContentView:view];
[window_ orderFront:nil];
« no previous file with comments | « ui/compositor/layer_unittest.cc ('k') | ui/gl/gl_implementation_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698