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

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

Issue 217563003: Turn styleWillChange |newStyle| into a reference (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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
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 3946 matching lines...) Expand 10 before | Expand all | Expand 10 after
3957 if (!oldStyle || !renderer()->style()->reflectionDataEquivalent(oldStyle)) { 3957 if (!oldStyle || !renderer()->style()->reflectionDataEquivalent(oldStyle)) {
3958 ASSERT(!oldStyle || diff >= StyleDifferenceLayout); 3958 ASSERT(!oldStyle || diff >= StyleDifferenceLayout);
3959 updateReflectionInfo(oldStyle); 3959 updateReflectionInfo(oldStyle);
3960 } 3960 }
3961 3961
3962 if (RuntimeEnabledFeatures::cssCompositingEnabled()) 3962 if (RuntimeEnabledFeatures::cssCompositingEnabled())
3963 m_blendInfo.updateBlendMode(); 3963 m_blendInfo.updateBlendMode();
3964 3964
3965 updateDescendantDependentFlags(); 3965 updateDescendantDependentFlags();
3966 3966
3967 if (!oldStyle || !renderer()->style()->transformDataEquivalent(oldStyle)) 3967 if (!oldStyle || !renderer()->style()->transformDataEquivalent(*oldStyle))
3968 updateTransform(); 3968 updateTransform();
3969 3969
3970 bool didPaintWithFilters = false; 3970 bool didPaintWithFilters = false;
3971 3971
3972 { 3972 {
3973 // https://code.google.com/p/chromium/issues/detail?id=343759 3973 // https://code.google.com/p/chromium/issues/detail?id=343759
3974 DisableCompositingQueryAsserts disabler; 3974 DisableCompositingQueryAsserts disabler;
3975 if (paintsWithFilters()) 3975 if (paintsWithFilters())
3976 didPaintWithFilters = true; 3976 didPaintWithFilters = true;
3977 updateFilters(oldStyle, renderer()->style()); 3977 updateFilters(oldStyle, renderer()->style());
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
4183 } 4183 }
4184 } 4184 }
4185 4185
4186 void showLayerTree(const WebCore::RenderObject* renderer) 4186 void showLayerTree(const WebCore::RenderObject* renderer)
4187 { 4187 {
4188 if (!renderer) 4188 if (!renderer)
4189 return; 4189 return;
4190 showLayerTree(renderer->enclosingLayer()); 4190 showLayerTree(renderer->enclosingLayer());
4191 } 4191 }
4192 #endif 4192 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698