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

Side by Side Diff: Source/core/rendering/RenderLayer.cpp

Issue 463123003: Cleanup namespace usage in Source/core/rendering (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 6 years, 4 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 1176 matching lines...) Expand 10 before | Expand all | Expand 10 after
1187 context->save(); 1187 context->save();
1188 LayoutRect clipRect = paintingExtent(rootLayer, paintDirtyRect, subPixel Accumulation, paintBehavior); 1188 LayoutRect clipRect = paintingExtent(rootLayer, paintDirtyRect, subPixel Accumulation, paintBehavior);
1189 context->clip(clipRect); 1189 context->clip(clipRect);
1190 1190
1191 if (paintsWithBlendMode()) 1191 if (paintsWithBlendMode())
1192 context->setCompositeOperation(context->compositeOperation(), m_rend erer->style()->blendMode()); 1192 context->setCompositeOperation(context->compositeOperation(), m_rend erer->style()->blendMode());
1193 1193
1194 context->beginTransparencyLayer(renderer()->opacity()); 1194 context->beginTransparencyLayer(renderer()->opacity());
1195 1195
1196 if (paintsWithBlendMode()) 1196 if (paintsWithBlendMode())
1197 context->setCompositeOperation(context->compositeOperation(), blink: :WebBlendModeNormal); 1197 context->setCompositeOperation(context->compositeOperation(), WebBle ndModeNormal);
1198 #ifdef REVEAL_TRANSPARENCY_LAYERS 1198 #ifdef REVEAL_TRANSPARENCY_LAYERS
1199 context->setFillColor(Color(0.0f, 0.0f, 0.5f, 0.2f)); 1199 context->setFillColor(Color(0.0f, 0.0f, 0.5f, 0.2f));
1200 context->fillRect(clipRect); 1200 context->fillRect(clipRect);
1201 #endif 1201 #endif
1202 } 1202 }
1203 } 1203 }
1204 1204
1205 void* RenderLayer::operator new(size_t sz) 1205 void* RenderLayer::operator new(size_t sz)
1206 { 1206 {
1207 return partitionAlloc(Partitions::getRenderingPartition(), sz); 1207 return partitionAlloc(Partitions::getRenderingPartition(), sz);
(...skipping 2478 matching lines...) Expand 10 before | Expand all | Expand 10 after
3686 } 3686 }
3687 } 3687 }
3688 3688
3689 void showLayerTree(const blink::RenderObject* renderer) 3689 void showLayerTree(const blink::RenderObject* renderer)
3690 { 3690 {
3691 if (!renderer) 3691 if (!renderer)
3692 return; 3692 return;
3693 showLayerTree(renderer->enclosingLayer()); 3693 showLayerTree(renderer->enclosingLayer());
3694 } 3694 }
3695 #endif 3695 #endif
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderFileUploadControl.cpp ('k') | Source/core/rendering/RenderMenuList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698