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

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

Issue 1508223005: Client side display item cache flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ScrollbarTheme
Patch Set: Created 4 years, 7 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved.
3 * 3 *
4 * Portions are Copyright (C) 1998 Netscape Communications Corporation. 4 * Portions are Copyright (C) 1998 Netscape Communications Corporation.
5 * 5 *
6 * Other contributors: 6 * Other contributors:
7 * Robert O'Callahan <roc+@cs.cmu.edu> 7 * Robert O'Callahan <roc+@cs.cmu.edu>
8 * David Baron <dbaron@fas.harvard.edu> 8 * David Baron <dbaron@fas.harvard.edu>
9 * Christian Biesinger <cbiesinger@web.de> 9 * Christian Biesinger <cbiesinger@web.de>
10 * Randall Jesup <rjesup@wgate.com> 10 * Randall Jesup <rjesup@wgate.com>
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 Persistent<PaintLayerScrollableArea> scrollableArea; 106 Persistent<PaintLayerScrollableArea> scrollableArea;
107 struct { 107 struct {
108 IntRect rect; 108 IntRect rect;
109 void* pointers[2]; 109 void* pointers[2];
110 } ancestorCompositingInputs; 110 } ancestorCompositingInputs;
111 struct { 111 struct {
112 IntSize size; 112 IntSize size;
113 void* pointer; 113 void* pointer;
114 LayoutRect rect; 114 LayoutRect rect;
115 } previousPaintStatus; 115 } previousPaintStatus;
116 DisplayItemCacheGeneration cacheGeneration;
116 }; 117 };
117 118
118 static_assert(sizeof(PaintLayer) == sizeof(SameSizeAsPaintLayer), "PaintLayer sh ould stay small"); 119 static_assert(sizeof(PaintLayer) == sizeof(SameSizeAsPaintLayer), "PaintLayer sh ould stay small");
119 120
120 } // namespace 121 } // namespace
121 122
122 using namespace HTMLNames; 123 using namespace HTMLNames;
123 124
124 PaintLayerRareData::PaintLayerRareData() 125 PaintLayerRareData::PaintLayerRareData()
125 : enclosingPaginationLayer(nullptr) 126 : enclosingPaginationLayer(nullptr)
(...skipping 2784 matching lines...) Expand 10 before | Expand all | Expand 10 after
2910 2911
2911 void showLayerTree(const blink::LayoutObject* layoutObject) 2912 void showLayerTree(const blink::LayoutObject* layoutObject)
2912 { 2913 {
2913 if (!layoutObject) { 2914 if (!layoutObject) {
2914 fprintf(stderr, "Cannot showLayerTree. Root is (nil)\n"); 2915 fprintf(stderr, "Cannot showLayerTree. Root is (nil)\n");
2915 return; 2916 return;
2916 } 2917 }
2917 showLayerTree(layoutObject->enclosingLayer()); 2918 showLayerTree(layoutObject->enclosingLayer());
2918 } 2919 }
2919 #endif 2920 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698