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

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

Issue 1853743005: Oilpan: Remove WillBe types (part 13) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 namespace { 95 namespace {
96 96
97 static CompositingQueryMode gCompositingQueryMode = 97 static CompositingQueryMode gCompositingQueryMode =
98 CompositingQueriesAreOnlyAllowedInCertainDocumentLifecyclePhases; 98 CompositingQueriesAreOnlyAllowedInCertainDocumentLifecyclePhases;
99 99
100 struct SameSizeAsPaintLayer : DisplayItemClient { 100 struct SameSizeAsPaintLayer : DisplayItemClient {
101 int bitFields; 101 int bitFields;
102 void* pointers[9]; 102 void* pointers[9];
103 LayoutUnit layoutUnits[4]; 103 LayoutUnit layoutUnits[4];
104 IntSize size; 104 IntSize size;
105 OwnPtrWillBePersistent<PaintLayerScrollableArea> scrollableArea; 105 Persistent<PaintLayerScrollableArea> scrollableArea;
106 struct { 106 struct {
107 IntRect rect; 107 IntRect rect;
108 void* pointers[2]; 108 void* pointers[2];
109 } ancestorCompositingInputs; 109 } ancestorCompositingInputs;
110 struct { 110 struct {
111 IntSize size; 111 IntSize size;
112 void* pointer; 112 void* pointer;
113 LayoutRect rect; 113 LayoutRect rect;
114 } previousPaintStatus; 114 } previousPaintStatus;
115 }; 115 };
(...skipping 2477 matching lines...) Expand 10 before | Expand all | Expand 10 after
2593 2593
2594 FilterOperations computeFilterOperationsHandleReferenceFilters(const FilterOpera tions& filters, float effectiveZoom, Node* enclosingNode) 2594 FilterOperations computeFilterOperationsHandleReferenceFilters(const FilterOpera tions& filters, float effectiveZoom, Node* enclosingNode)
2595 { 2595 {
2596 if (filters.hasReferenceFilter()) { 2596 if (filters.hasReferenceFilter()) {
2597 for (size_t i = 0; i < filters.size(); ++i) { 2597 for (size_t i = 0; i < filters.size(); ++i) {
2598 FilterOperation* filterOperation = filters.operations().at(i).get(); 2598 FilterOperation* filterOperation = filters.operations().at(i).get();
2599 if (filterOperation->type() != FilterOperation::REFERENCE) 2599 if (filterOperation->type() != FilterOperation::REFERENCE)
2600 continue; 2600 continue;
2601 ReferenceFilterOperation& referenceOperation = toReferenceFilterOper ation(*filterOperation); 2601 ReferenceFilterOperation& referenceOperation = toReferenceFilterOper ation(*filterOperation);
2602 // FIXME: Cache the Filter if it didn't change. 2602 // FIXME: Cache the Filter if it didn't change.
2603 RefPtrWillBeRawPtr<Filter> referenceFilter = ReferenceFilterBuilder: :build(effectiveZoom, toElement(enclosingNode), nullptr, referenceOperation); 2603 RawPtr<Filter> referenceFilter = ReferenceFilterBuilder::build(effec tiveZoom, toElement(enclosingNode), nullptr, referenceOperation);
2604 referenceOperation.setFilter(referenceFilter.release()); 2604 referenceOperation.setFilter(referenceFilter.release());
2605 } 2605 }
2606 } 2606 }
2607 2607
2608 return filters; 2608 return filters;
2609 } 2609 }
2610 2610
2611 } // unnamed namespace 2611 } // unnamed namespace
2612 2612
2613 FilterOperations PaintLayer::computeFilterOperations(const ComputedStyle& style) const 2613 FilterOperations PaintLayer::computeFilterOperations(const ComputedStyle& style) const
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
2876 2876
2877 void showLayerTree(const blink::LayoutObject* layoutObject) 2877 void showLayerTree(const blink::LayoutObject* layoutObject)
2878 { 2878 {
2879 if (!layoutObject) { 2879 if (!layoutObject) {
2880 fprintf(stderr, "Cannot showLayerTree. Root is (nil)\n"); 2880 fprintf(stderr, "Cannot showLayerTree. Root is (nil)\n");
2881 return; 2881 return;
2882 } 2882 }
2883 showLayerTree(layoutObject->enclosingLayer()); 2883 showLayerTree(layoutObject->enclosingLayer());
2884 } 2884 }
2885 #endif 2885 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698