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

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

Issue 1979133003: Revert of 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;
117 }; 116 };
118 117
119 static_assert(sizeof(PaintLayer) == sizeof(SameSizeAsPaintLayer), "PaintLayer sh ould stay small"); 118 static_assert(sizeof(PaintLayer) == sizeof(SameSizeAsPaintLayer), "PaintLayer sh ould stay small");
120 119
121 } // namespace 120 } // namespace
122 121
123 using namespace HTMLNames; 122 using namespace HTMLNames;
124 123
125 PaintLayerRareData::PaintLayerRareData() 124 PaintLayerRareData::PaintLayerRareData()
126 : enclosingPaginationLayer(nullptr) 125 : enclosingPaginationLayer(nullptr)
(...skipping 2784 matching lines...) Expand 10 before | Expand all | Expand 10 after
2911 2910
2912 void showLayerTree(const blink::LayoutObject* layoutObject) 2911 void showLayerTree(const blink::LayoutObject* layoutObject)
2913 { 2912 {
2914 if (!layoutObject) { 2913 if (!layoutObject) {
2915 fprintf(stderr, "Cannot showLayerTree. Root is (nil)\n"); 2914 fprintf(stderr, "Cannot showLayerTree. Root is (nil)\n");
2916 return; 2915 return;
2917 } 2916 }
2918 showLayerTree(layoutObject->enclosingLayer()); 2917 showLayerTree(layoutObject->enclosingLayer());
2919 } 2918 }
2920 #endif 2919 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698