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

Unified Diff: views/widget/root_view.cc

Issue 7845033: Rework View Layer Draw() to use the Layer::DrawTree() method and the LayerDelegate. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 3 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
Index: views/widget/root_view.cc
===================================================================
--- views/widget/root_view.cc (revision 100773)
+++ views/widget/root_view.cc (working copy)
@@ -437,10 +437,10 @@
}
void RootView::CalculateOffsetToAncestorWithLayer(gfx::Point* offset,
- View** ancestor) {
- View::CalculateOffsetToAncestorWithLayer(offset, ancestor);
+ ui::Layer** layer_parent) {
+ View::CalculateOffsetToAncestorWithLayer(offset, layer_parent);
if (!layer())
- widget_->CalculateOffsetToAncestorWithLayer(offset, ancestor);
+ widget_->CalculateOffsetToAncestorWithLayer(offset, layer_parent);
}
////////////////////////////////////////////////////////////////////////////////
« views/view.cc ('K') | « views/widget/root_view.h ('k') | views/widget/widget.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698