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

Unified Diff: Source/core/dom/Element.h

Issue 18147020: Remove broken sibling selector optimization (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 5 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/css/resolver/StyleResolverState.cpp ('k') | Source/core/dom/Element.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Element.h
diff --git a/Source/core/dom/Element.h b/Source/core/dom/Element.h
index 94ffc8cda79b9116995f583d01d517bef42b061c..4f71560b17e3cbcbed59c4b3cac0a1de4151a2a9 100644
--- a/Source/core/dom/Element.h
+++ b/Source/core/dom/Element.h
@@ -436,7 +436,7 @@ public:
virtual void detach(const AttachContext& = AttachContext()) OVERRIDE;
virtual RenderObject* createRenderer(RenderStyle*);
virtual bool rendererIsNeeded(const NodeRenderingContext&);
- bool recalcStyle(StyleChange = NoChange, int childIndex = 0);
+ bool recalcStyle(StyleChange = NoChange);
void didAffectSelector(AffectedSelectorMask);
ElementShadow* shadow() const;
@@ -608,8 +608,8 @@ public:
bool isSpellCheckingEnabled() const;
- PassRefPtr<RenderStyle> styleForRenderer(int childIndex = 0);
- PassRefPtr<RenderStyle> originalStyleForRenderer(int childIndex = 0);
+ PassRefPtr<RenderStyle> styleForRenderer();
+ PassRefPtr<RenderStyle> originalStyleForRenderer();
RenderRegion* renderRegion() const;
virtual bool shouldMoveToFlowThread(RenderStyle*) const;
« no previous file with comments | « Source/core/css/resolver/StyleResolverState.cpp ('k') | Source/core/dom/Element.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698