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

Unified Diff: views/widget/native_widget_aura.cc

Issue 8510076: Fix stale compositor references from ui::Layer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix linux_touch build Created 9 years, 1 month 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 | « views/view_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/widget/native_widget_aura.cc
diff --git a/views/widget/native_widget_aura.cc b/views/widget/native_widget_aura.cc
index 4ff026efd56b3cf2cdc171c849595264aa28fecd..ee23f426f26c5b6a1d6c38078c1d2759ddc09c7a 100644
--- a/views/widget/native_widget_aura.cc
+++ b/views/widget/native_widget_aura.cc
@@ -201,11 +201,11 @@ Widget* NativeWidgetAura::GetTopLevelWidget() {
}
const ui::Compositor* NativeWidgetAura::GetCompositor() const {
- return window_->layer()->compositor();
+ return window_->layer()->GetCompositor();
}
ui::Compositor* NativeWidgetAura::GetCompositor() {
- return window_->layer()->compositor();
+ return window_->layer()->GetCompositor();
}
void NativeWidgetAura::CalculateOffsetToAncestorWithLayer(
« no previous file with comments | « views/view_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698