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

Unified Diff: Source/core/paint/DeprecatedPaintLayerScrollableArea.cpp

Issue 1306993002: Cleanup friends of LayoutObject (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/paint/DeprecatedPaintLayerReflectionInfo.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/paint/DeprecatedPaintLayerScrollableArea.cpp
diff --git a/Source/core/paint/DeprecatedPaintLayerScrollableArea.cpp b/Source/core/paint/DeprecatedPaintLayerScrollableArea.cpp
index 63f56eff5de1c566f985714effbe658a72e07934..947a8ce7c5f4095fdc5a89c20402f6cd96371f20 100644
--- a/Source/core/paint/DeprecatedPaintLayerScrollableArea.cpp
+++ b/Source/core/paint/DeprecatedPaintLayerScrollableArea.cpp
@@ -1136,7 +1136,7 @@ void DeprecatedPaintLayerScrollableArea::updateScrollCornerStyle()
if (corner) {
if (!m_scrollCorner) {
m_scrollCorner = LayoutScrollbarPart::createAnonymous(&box().document());
- m_scrollCorner->setParent(&box());
+ m_scrollCorner->setDangerousOneWayParent(&box());
}
m_scrollCorner->setStyle(corner.release());
} else if (m_scrollCorner) {
@@ -1264,7 +1264,7 @@ void DeprecatedPaintLayerScrollableArea::updateResizerStyle()
if (resizer) {
if (!m_resizer) {
m_resizer = LayoutScrollbarPart::createAnonymous(&box().document());
- m_resizer->setParent(&box());
+ m_resizer->setDangerousOneWayParent(&box());
}
m_resizer->setStyle(resizer.release());
} else if (m_resizer) {
« no previous file with comments | « Source/core/paint/DeprecatedPaintLayerReflectionInfo.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698