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

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

Issue 60113005: Enable chromium_code=1 on Windows (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: use this-> Created 7 years, 1 month 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
« no previous file with comments | « Source/core/rendering/ClipRect.h ('k') | Source/core/rendering/RenderLayerScrollableArea.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 3765 matching lines...) Expand 10 before | Expand all | Expand 10 after
3776 || renderer()->hasMask() 3776 || renderer()->hasMask()
3777 || renderer()->isTableRow() 3777 || renderer()->isTableRow()
3778 || renderer()->isCanvas() 3778 || renderer()->isCanvas()
3779 || renderer()->isVideo() 3779 || renderer()->isVideo()
3780 || renderer()->isEmbeddedObject() 3780 || renderer()->isEmbeddedObject()
3781 || renderer()->isRenderIFrame(); 3781 || renderer()->isRenderIFrame();
3782 } 3782 }
3783 3783
3784 void RenderLayer::updateSelfPaintingLayer() 3784 void RenderLayer::updateSelfPaintingLayer()
3785 { 3785 {
3786 bool isSelfPaintingLayer = shouldBeSelfPaintingLayer(); 3786 bool isSelfPaintingLayer = this->shouldBeSelfPaintingLayer();
3787 if (m_isSelfPaintingLayer == isSelfPaintingLayer) 3787 if (this->isSelfPaintingLayer() == isSelfPaintingLayer)
3788 return; 3788 return;
3789 3789
3790 m_isSelfPaintingLayer = isSelfPaintingLayer; 3790 m_isSelfPaintingLayer = isSelfPaintingLayer;
3791 if (!parent()) 3791 if (!parent())
3792 return; 3792 return;
3793 if (isSelfPaintingLayer) 3793 if (isSelfPaintingLayer)
3794 parent()->setAncestorChainHasSelfPaintingLayerDescendant(); 3794 parent()->setAncestorChainHasSelfPaintingLayerDescendant();
3795 else 3795 else
3796 parent()->dirtyAncestorChainHasSelfPaintingLayerDescendantStatus(); 3796 parent()->dirtyAncestorChainHasSelfPaintingLayerDescendantStatus();
3797 } 3797 }
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after
4163 } 4163 }
4164 } 4164 }
4165 4165
4166 void showLayerTree(const WebCore::RenderObject* renderer) 4166 void showLayerTree(const WebCore::RenderObject* renderer)
4167 { 4167 {
4168 if (!renderer) 4168 if (!renderer)
4169 return; 4169 return;
4170 showLayerTree(renderer->enclosingLayer()); 4170 showLayerTree(renderer->enclosingLayer());
4171 } 4171 }
4172 #endif 4172 #endif
OLDNEW
« no previous file with comments | « Source/core/rendering/ClipRect.h ('k') | Source/core/rendering/RenderLayerScrollableArea.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698