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

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

Issue 1307173007: Reconstruct customscrollbars if owningLayoutObject changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 3 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 | « no previous file | 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 2bfbb871ad730bfe8fd927c5349c3393d086f9a6..20d066b5ad6ebb11f93eddb9af39e5c41452688f 100644
--- a/Source/core/paint/DeprecatedPaintLayerScrollableArea.cpp
+++ b/Source/core/paint/DeprecatedPaintLayerScrollableArea.cpp
@@ -966,7 +966,7 @@ static inline LayoutObject* layoutObjectForScrollbar(LayoutObject& layoutObject)
// If we have an owning ipage/LocalFrame element, then it can set the custom scrollbar also.
LayoutPart* frameLayoutObject = node->document().frame()->ownerLayoutObject();
if (frameLayoutObject && frameLayoutObject->style()->hasPseudoStyle(SCROLLBAR))
- return frameLayoutObject;
+ return &layoutObject;
skobes 2015/09/12 02:36:52 Based on the comment on line 966, it looks like th
}
if (ShadowRoot* shadowRoot = node->containingShadowRoot()) {
if (shadowRoot->type() == ShadowRootType::UserAgent)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698