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

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

Issue 11415251: Fix test_compositor_host_mac after r135888 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 | « no previous file | 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_mac.mm
diff --git a/ui/compositor/test/test_compositor_host_mac.mm b/ui/compositor/test/test_compositor_host_mac.mm
index 3d237aab58fceca9662a768f9b250101112c7ba1..e808b80abd4f13142c8c29b21ed17fb55164744e 100644
--- a/ui/compositor/test/test_compositor_host_mac.mm
+++ b/ui/compositor/test/test_compositor_host_mac.mm
@@ -127,7 +127,8 @@ void TestCompositorHostMac::Show() {
backing:NSBackingStoreBuffered
defer:NO];
scoped_nsobject<AcceleratedTestView> view([[AcceleratedTestView alloc] init]);
- compositor_.reset(new ui::Compositor(this, view, bounds_.size()));
+ compositor_.reset(new ui::Compositor(this, view));
+ compositor_->SetScaleAndSize(1.0f, bounds_.size());
[view setCompositor:compositor_.get()];
[window_ setContentView:view];
[window_ orderFront:nil];
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698