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

Side by Side Diff: third_party/WebKit/Source/core/paint/PaintLayer.h

Issue 2080683002: Revert of Invalidate as DisplayItemClient when PaintLayer is setNeedsRepaint (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@TrackObjectInvalidation
Patch Set: Created 4 years, 6 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/paint/PaintLayer.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 754 matching lines...) Expand 10 before | Expand all | Expand 10 after
765 bool attemptDirectCompositingUpdate(StyleDifference, const ComputedStyle* ol dStyle); 765 bool attemptDirectCompositingUpdate(StyleDifference, const ComputedStyle* ol dStyle);
766 void updateTransform(const ComputedStyle* oldStyle, const ComputedStyle& new Style); 766 void updateTransform(const ComputedStyle* oldStyle, const ComputedStyle& new Style);
767 767
768 void removeAncestorOverflowLayer(const PaintLayer* removedLayer); 768 void removeAncestorOverflowLayer(const PaintLayer* removedLayer);
769 769
770 void updateOrRemoveFilterClients(); 770 void updateOrRemoveFilterClients();
771 771
772 void updatePaginationRecursive(bool needsPaginationUpdate = false); 772 void updatePaginationRecursive(bool needsPaginationUpdate = false);
773 void clearPaginationRecursive(); 773 void clearPaginationRecursive();
774 774
775 void setNeedsRepaintInternal();
776 void markCompositingContainerChainForNeedsRepaint(); 775 void markCompositingContainerChainForNeedsRepaint();
777 776
778 PaintLayerRareData& ensureRareData() 777 PaintLayerRareData& ensureRareData()
779 { 778 {
780 if (!m_rareData) 779 if (!m_rareData)
781 m_rareData = adoptPtr(new PaintLayerRareData); 780 m_rareData = adoptPtr(new PaintLayerRareData);
782 return *m_rareData; 781 return *m_rareData;
783 } 782 }
784 783
785 void mergeNeedsPaintPhaseFlagsFrom(const PaintLayer& layer) 784 void mergeNeedsPaintPhaseFlagsFrom(const PaintLayer& layer)
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
897 896
898 } // namespace blink 897 } // namespace blink
899 898
900 #ifndef NDEBUG 899 #ifndef NDEBUG
901 // Outside the WebCore namespace for ease of invocation from gdb. 900 // Outside the WebCore namespace for ease of invocation from gdb.
902 void showLayerTree(const blink::PaintLayer*); 901 void showLayerTree(const blink::PaintLayer*);
903 void showLayerTree(const blink::LayoutObject*); 902 void showLayerTree(const blink::LayoutObject*);
904 #endif 903 #endif
905 904
906 #endif // Layer_h 905 #endif // Layer_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/paint/PaintLayer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698