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

Unified Diff: Source/core/rendering/InlineIterator.h

Issue 23972003: Update containtingIsolate to go back all the way to top isolate from current (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 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
Index: Source/core/rendering/InlineIterator.h
diff --git a/Source/core/rendering/InlineIterator.h b/Source/core/rendering/InlineIterator.h
index d88205ae92425e121e171ac28d5876fa629ad7e0..5bf1c354ba53f00a1923457f7720a71fa1e83363 100644
--- a/Source/core/rendering/InlineIterator.h
+++ b/Source/core/rendering/InlineIterator.h
@@ -419,9 +419,6 @@ static inline RenderObject* containingIsolate(RenderObject* object, RenderObject
ASSERT(object);
RenderObject* containingIsolateObj = 0;
while (object && object != root) {
- if (containingIsolateObj && !isIsolatedInline(object))
- break;
-
if (isIsolatedInline(object))
containingIsolateObj = object;

Powered by Google App Engine
This is Rietveld 408576698