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

Side by Side Diff: Source/core/rendering/RenderLayer.h

Issue 889563002: Make RenderObject::style() return a const object (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Blind fix for Mac. Created 5 years, 10 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) 2003, 2009, 2012 Apple Inc. All rights reserved. 2 * Copyright (C) 2003, 2009, 2012 Apple Inc. All rights reserved.
3 * Copyright (C) 2013 Intel Corporation. All rights reserved. 3 * Copyright (C) 2013 Intel Corporation. All rights reserved.
4 * 4 *
5 * Portions are Copyright (C) 1998 Netscape Communications Corporation. 5 * Portions are Copyright (C) 1998 Netscape Communications Corporation.
6 * 6 *
7 * Other contributors: 7 * Other contributors:
8 * Robert O'Callahan <roc+@cs.cmu.edu> 8 * Robert O'Callahan <roc+@cs.cmu.edu>
9 * David Baron <dbaron@fas.harvard.edu> 9 * David Baron <dbaron@fas.harvard.edu>
10 * Christian Biesinger <cbiesinger@web.de> 10 * Christian Biesinger <cbiesinger@web.de>
(...skipping 571 matching lines...) Expand 10 before | Expand all | Expand 10 after
582 void updateReflectionInfo(const RenderStyle*); 582 void updateReflectionInfo(const RenderStyle*);
583 583
584 // FIXME: We could lazily allocate our ScrollableArea based on style propert ies ('overflow', ...) 584 // FIXME: We could lazily allocate our ScrollableArea based on style propert ies ('overflow', ...)
585 // but for now, we are always allocating it for RenderBox as it's safer. 585 // but for now, we are always allocating it for RenderBox as it's safer.
586 bool requiresScrollableArea() const { return renderBox(); } 586 bool requiresScrollableArea() const { return renderBox(); }
587 void updateScrollableArea(); 587 void updateScrollableArea();
588 588
589 void dirtyAncestorChainVisibleDescendantStatus(); 589 void dirtyAncestorChainVisibleDescendantStatus();
590 590
591 bool attemptDirectCompositingUpdate(StyleDifference, const RenderStyle* oldS tyle); 591 bool attemptDirectCompositingUpdate(StyleDifference, const RenderStyle* oldS tyle);
592 void updateTransform(const RenderStyle* oldStyle, RenderStyle* newStyle); 592 void updateTransform(const RenderStyle* oldStyle, const RenderStyle* newStyl e);
593 593
594 void dirty3DTransformedDescendantStatus(); 594 void dirty3DTransformedDescendantStatus();
595 // Both updates the status, and returns true if descendants of this have 3d. 595 // Both updates the status, and returns true if descendants of this have 3d.
596 bool update3DTransformedDescendantStatus(); 596 bool update3DTransformedDescendantStatus();
597 597
598 void updateOrRemoveFilterClients(); 598 void updateOrRemoveFilterClients();
599 599
600 void updatePaginationRecursive(bool needsPaginationUpdate = false); 600 void updatePaginationRecursive(bool needsPaginationUpdate = false);
601 void updatePagination(); 601 void updatePagination();
602 void clearPaginationRecursive(); 602 void clearPaginationRecursive();
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
716 716
717 } // namespace blink 717 } // namespace blink
718 718
719 #ifndef NDEBUG 719 #ifndef NDEBUG
720 // Outside the WebCore namespace for ease of invocation from gdb. 720 // Outside the WebCore namespace for ease of invocation from gdb.
721 void showLayerTree(const blink::RenderLayer*); 721 void showLayerTree(const blink::RenderLayer*);
722 void showLayerTree(const blink::RenderObject*); 722 void showLayerTree(const blink::RenderObject*);
723 #endif 723 #endif
724 724
725 #endif // RenderLayer_h 725 #endif // RenderLayer_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698