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

Side by Side Diff: Source/core/paint/DeprecatedPaintLayer.cpp

Issue 1189593003: Rename Partitions::getRenderingPartition() -> getLayoutPartition() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/layout/line/InlineBox.cpp ('k') | Source/platform/text/BidiCharacterRun.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) 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 1101 matching lines...) Expand 10 before | Expand all | Expand 10 after
1112 return clipRect; 1112 return clipRect;
1113 } 1113 }
1114 1114
1115 LayoutRect DeprecatedPaintLayer::paintingExtent(const DeprecatedPaintLayer* root Layer, const LayoutRect& paintDirtyRect, const LayoutSize& subPixelAccumulation, PaintBehavior paintBehavior) 1115 LayoutRect DeprecatedPaintLayer::paintingExtent(const DeprecatedPaintLayer* root Layer, const LayoutRect& paintDirtyRect, const LayoutSize& subPixelAccumulation, PaintBehavior paintBehavior)
1116 { 1116 {
1117 return intersection(transparencyClipBox(this, rootLayer, PaintingTransparenc yClipBox, RootOfTransparencyClipBox, subPixelAccumulation, paintBehavior), paint DirtyRect); 1117 return intersection(transparencyClipBox(this, rootLayer, PaintingTransparenc yClipBox, RootOfTransparencyClipBox, subPixelAccumulation, paintBehavior), paint DirtyRect);
1118 } 1118 }
1119 1119
1120 void* DeprecatedPaintLayer::operator new(size_t sz) 1120 void* DeprecatedPaintLayer::operator new(size_t sz)
1121 { 1121 {
1122 return partitionAlloc(WTF::Partitions::getRenderingPartition(), sz); 1122 return partitionAlloc(WTF::Partitions::layoutPartition(), sz);
1123 } 1123 }
1124 1124
1125 void DeprecatedPaintLayer::operator delete(void* ptr) 1125 void DeprecatedPaintLayer::operator delete(void* ptr)
1126 { 1126 {
1127 partitionFree(ptr); 1127 partitionFree(ptr);
1128 } 1128 }
1129 1129
1130 void DeprecatedPaintLayer::addChild(DeprecatedPaintLayer* child, DeprecatedPaint Layer* beforeChild) 1130 void DeprecatedPaintLayer::addChild(DeprecatedPaintLayer* child, DeprecatedPaint Layer* beforeChild)
1131 { 1131 {
1132 DeprecatedPaintLayer* prevSibling = beforeChild ? beforeChild->previousSibli ng() : lastChild(); 1132 DeprecatedPaintLayer* prevSibling = beforeChild ? beforeChild->previousSibli ng() : lastChild();
(...skipping 1630 matching lines...) Expand 10 before | Expand all | Expand 10 after
2763 2763
2764 void showLayerTree(const blink::LayoutObject* layoutObject) 2764 void showLayerTree(const blink::LayoutObject* layoutObject)
2765 { 2765 {
2766 if (!layoutObject) { 2766 if (!layoutObject) {
2767 fprintf(stderr, "Cannot showLayerTree. Root is (nil)\n"); 2767 fprintf(stderr, "Cannot showLayerTree. Root is (nil)\n");
2768 return; 2768 return;
2769 } 2769 }
2770 showLayerTree(layoutObject->enclosingLayer()); 2770 showLayerTree(layoutObject->enclosingLayer());
2771 } 2771 }
2772 #endif 2772 #endif
OLDNEW
« no previous file with comments | « Source/core/layout/line/InlineBox.cpp ('k') | Source/platform/text/BidiCharacterRun.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698