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

Unified Diff: Source/core/layout/LayoutObject.cpp

Issue 910083002: Constify and use LayoutStyle reference in layout/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebaselined again Created 5 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/layout/LayoutLayerModelObject.cpp ('k') | Source/core/layout/LayoutSliderContainer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutObject.cpp
diff --git a/Source/core/layout/LayoutObject.cpp b/Source/core/layout/LayoutObject.cpp
index 404111f1d768f8f63c147ed2ae9dffd5a8069a0c..a2eff977c44b9d034295421467284874e5985a7f 100644
--- a/Source/core/layout/LayoutObject.cpp
+++ b/Source/core/layout/LayoutObject.cpp
@@ -1792,7 +1792,7 @@ void LayoutObject::styleDidChange(StyleDifference diff, const LayoutStyle* oldSt
return;
if (diff.needsFullLayout()) {
- LayoutCounter::rendererStyleChanged(*this, oldStyle, m_style.get());
+ LayoutCounter::rendererStyleChanged(*this, oldStyle, *m_style);
// If the object already needs layout, then setNeedsLayout won't do
// any work. But if the containing block has changed, then we may need
« no previous file with comments | « Source/core/layout/LayoutLayerModelObject.cpp ('k') | Source/core/layout/LayoutSliderContainer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698