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

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

Issue 16629006: Revert 151996 "Avoid N^2 walk placing renderers when building th..." (Closed) Base URL: svn://svn.chromium.org/blink/
Patch Set: Update to head Created 7 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 | « Source/core/dom/Document.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 669782c80666d1af6bab2611fa6110d12113782c..8fafa3e4db1e5d59df792c4727ba9a53c2ae7911 100644
--- a/Source/core/dom/Element.h
+++ b/Source/core/dom/Element.h
@@ -410,7 +410,7 @@ public:
virtual void detach();
virtual RenderObject* createRenderer(RenderArena*, RenderStyle*);
virtual bool rendererIsNeeded(const NodeRenderingContext&);
- void recalcStyle(StyleChange = NoChange, int childIndex = 0);
+ void recalcStyle(StyleChange = NoChange);
void didAffectSelector(AffectedSelectorMask);
ElementShadow* shadow() const;
@@ -576,8 +576,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;
const AtomicString& webkitRegionOverset() const;
« no previous file with comments | « Source/core/dom/Document.cpp ('k') | Source/core/dom/Element.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698