Index: views/widget/native_widget_aura.cc |
=================================================================== |
--- views/widget/native_widget_aura.cc (revision 100773) |
+++ views/widget/native_widget_aura.cc (working copy) |
@@ -110,16 +110,13 @@ |
return window_->layer()->compositor(); |
} |
-void NativeWidgetAura::MarkLayerDirty() { |
- //NOTIMPLEMENTED(); |
+void NativeWidgetAura::CalculateOffsetToAncestorWithLayer( |
+ gfx::Point* offset, |
+ ui::Layer** layer_parent) { |
+ if (layer_parent) |
+ *layer_parent = window_->layer(); |
} |
-void NativeWidgetAura::CalculateOffsetToAncestorWithLayer(gfx::Point* offset, |
- View** ancestor) { |
- if (ancestor) |
- *ancestor = GetWidget()->GetRootView(); |
-} |
- |
void NativeWidgetAura::ViewRemoved(View* view) { |
NOTIMPLEMENTED(); |
} |