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

Unified Diff: ui/aura/root_window.cc

Issue 9297041: Merge Compositor and CompositorCC (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 11 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 | « content/content_browser.gypi ('k') | ui/aura/window.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/root_window.cc
diff --git a/ui/aura/root_window.cc b/ui/aura/root_window.cc
index a7f36a5a20aab97ed241ebbe22cfb385276261dd..8f5c7eecde2d90bcce77d20681a86ff045b6f8b6 100644
--- a/ui/aura/root_window.cc
+++ b/ui/aura/root_window.cc
@@ -26,7 +26,6 @@
#include "ui/aura/window_delegate.h"
#include "ui/base/hit_test.h"
#include "ui/gfx/compositor/compositor.h"
-#include "ui/gfx/compositor/compositor_cc.h"
#include "ui/gfx/compositor/layer.h"
#include "ui/gfx/compositor/layer_animator.h"
@@ -437,8 +436,8 @@ RootWindow::RootWindow()
gfx::Screen::SetInstance(screen_);
last_mouse_location_ = host_->QueryMouseLocation();
- ui::CompositorCC::Initialize(false);
- compositor_ = ui::Compositor::Create(this, host_->GetAcceleratedWidget(),
+ ui::Compositor::Initialize(false);
+ compositor_ = new ui::Compositor(this, host_->GetAcceleratedWidget(),
host_->GetSize());
DCHECK(compositor_.get());
}
@@ -449,7 +448,7 @@ RootWindow::~RootWindow() {
compositor_ = NULL;
// An observer may have been added by an animation on the RootWindow.
layer()->GetAnimator()->RemoveObserver(this);
- ui::CompositorCC::Terminate();
+ ui::Compositor::Terminate();
if (instance_ == this)
instance_ = NULL;
}
« no previous file with comments | « content/content_browser.gypi ('k') | ui/aura/window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698