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

Side by Side Diff: Source/core/rendering/RenderBoxModelObject.cpp

Issue 478733002: Rename repaint to paintInvalidation for remaining methods. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * (C) 2005 Allan Sandfeld Jensen (kde@carewolf.com) 4 * (C) 2005 Allan Sandfeld Jensen (kde@carewolf.com)
5 * (C) 2005, 2006 Samuel Weinig (sam.weinig@gmail.com) 5 * (C) 2005, 2006 Samuel Weinig (sam.weinig@gmail.com)
6 * Copyright (C) 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. 6 * Copyright (C) 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
7 * Copyright (C) 2010 Google Inc. All rights reserved. 7 * Copyright (C) 2010 Google Inc. All rights reserved.
8 * 8 *
9 * This library is free software; you can redistribute it and/or 9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Library General Public 10 * modify it under the terms of the GNU Library General Public
(...skipping 2658 matching lines...) Expand 10 before | Expand all | Expand 10 after
2669 RenderObject* container = this->container(ancestorToStopAt, &ancestorSkipped ); 2669 RenderObject* container = this->container(ancestorToStopAt, &ancestorSkipped );
2670 if (!container) 2670 if (!container)
2671 return 0; 2671 return 0;
2672 2672
2673 bool isInline = isRenderInline(); 2673 bool isInline = isRenderInline();
2674 bool isFixedPos = !isInline && style()->position() == FixedPosition; 2674 bool isFixedPos = !isInline && style()->position() == FixedPosition;
2675 bool hasTransform = !isInline && hasLayer() && layer()->transform(); 2675 bool hasTransform = !isInline && hasLayer() && layer()->transform();
2676 2676
2677 LayoutSize adjustmentForSkippedAncestor; 2677 LayoutSize adjustmentForSkippedAncestor;
2678 if (ancestorSkipped) { 2678 if (ancestorSkipped) {
2679 // There can't be a transform between repaintContainer and o, because tr ansforms create containers, so it should be safe 2679 // There can't be a transform between paintInvalidationContainer and o, because transforms create containers, so it should be safe
2680 // to just subtract the delta between the ancestor and o. 2680 // to just subtract the delta between the ancestor and o.
2681 adjustmentForSkippedAncestor = -ancestorToStopAt->offsetFromAncestorCont ainer(container); 2681 adjustmentForSkippedAncestor = -ancestorToStopAt->offsetFromAncestorCont ainer(container);
2682 } 2682 }
2683 2683
2684 bool offsetDependsOnPoint = false; 2684 bool offsetDependsOnPoint = false;
2685 LayoutSize containerOffset = offsetFromContainer(container, LayoutPoint(), & offsetDependsOnPoint); 2685 LayoutSize containerOffset = offsetFromContainer(container, LayoutPoint(), & offsetDependsOnPoint);
2686 2686
2687 bool preserve3D = container->style()->preserves3D() || style()->preserves3D( ); 2687 bool preserve3D = container->style()->preserves3D() || style()->preserves3D( );
2688 if (shouldUseTransformFromContainer(container)) { 2688 if (shouldUseTransformFromContainer(container)) {
2689 TransformationMatrix t; 2689 TransformationMatrix t;
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
2729 ASSERT(!beforeChild || toBoxModelObject == beforeChild->parent()); 2729 ASSERT(!beforeChild || toBoxModelObject == beforeChild->parent());
2730 for (RenderObject* child = startChild; child && child != endChild; ) { 2730 for (RenderObject* child = startChild; child && child != endChild; ) {
2731 // Save our next sibling as moveChildTo will clear it. 2731 // Save our next sibling as moveChildTo will clear it.
2732 RenderObject* nextSibling = child->nextSibling(); 2732 RenderObject* nextSibling = child->nextSibling();
2733 moveChildTo(toBoxModelObject, child, beforeChild, fullRemoveInsert); 2733 moveChildTo(toBoxModelObject, child, beforeChild, fullRemoveInsert);
2734 child = nextSibling; 2734 child = nextSibling;
2735 } 2735 }
2736 } 2736 }
2737 2737
2738 } // namespace blink 2738 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderBox.cpp ('k') | Source/core/rendering/RenderDeprecatedFlexibleBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698