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

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

Issue 889563002: Make RenderObject::style() return a const object (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed web/mac/WebSubstringUtil.mm Created 5 years, 10 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/dom/Element.h
diff --git a/Source/core/dom/Element.h b/Source/core/dom/Element.h
index b5a1d709d65823d5414682bf8ca1ef245940f8a5..ff6320c189adb1b16bc909a7c866ff77e02f745b 100644
--- a/Source/core/dom/Element.h
+++ b/Source/core/dom/Element.h
@@ -614,7 +614,7 @@ private:
virtual LayoutStyle* virtualComputedStyle(PseudoId pseudoElementSpecifier = NOPSEUDO) override { return computedStyle(pseudoElementSpecifier); }
- inline void updateCallbackSelectors(LayoutStyle* oldStyle, LayoutStyle* newStyle);
+ inline void updateCallbackSelectors(const LayoutStyle* oldStyle, const LayoutStyle* newStyle);
inline void removeCallbackSelectors();
inline void addCallbackSelectors();

Powered by Google App Engine
This is Rietveld 408576698