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

Unified Diff: Source/core/paint/DeprecatedPaintLayer.h

Issue 1199673003: Have enclosingPositionedAncestor() detect whether it walked past a certain ancestor. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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 | Source/core/paint/DeprecatedPaintLayer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/paint/DeprecatedPaintLayer.h
diff --git a/Source/core/paint/DeprecatedPaintLayer.h b/Source/core/paint/DeprecatedPaintLayer.h
index a32f7d68019a8617f67f014359284f9734ab23a1..feea8986a848f8d4b4ef208b0e5eeab4222172af 100644
--- a/Source/core/paint/DeprecatedPaintLayer.h
+++ b/Source/core/paint/DeprecatedPaintLayer.h
@@ -197,7 +197,7 @@ public:
// Gets the nearest enclosing positioned ancestor layer (also includes
// the <html> layer and the root layer).
- DeprecatedPaintLayer* enclosingPositionedAncestor() const;
+ DeprecatedPaintLayer* enclosingPositionedAncestor(const DeprecatedPaintLayer* ancestor = nullptr, bool* skippedAncestor = nullptr) const;
chrishtr 2015/06/25 17:32:58 Please explain the extra parameters' purpose and u
mstensho (USE GERRIT) 2015/06/25 18:04:13 Done.
bool isPaintInvalidationContainer() const;
« no previous file with comments | « no previous file | Source/core/paint/DeprecatedPaintLayer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698