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

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

Issue 16599003: :hover style not applied on hover if its display property is different from original style's (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Patch 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
Index: Source/core/dom/Element.h
diff --git a/Source/core/dom/Element.h b/Source/core/dom/Element.h
index 669782c80666d1af6bab2611fa6110d12113782c..fc9b40b81dce4b41dd5b566d32f1f937cab32fc2 100644
--- a/Source/core/dom/Element.h
+++ b/Source/core/dom/Element.h
@@ -406,8 +406,8 @@ public:
virtual void copyNonAttributePropertiesFromElement(const Element&) { }
- virtual void attach();
- virtual void detach();
+ virtual void attach(const AttachContext& = AttachContext()) OVERRIDE;
+ virtual void detach(const AttachContext& = AttachContext()) OVERRIDE;
virtual RenderObject* createRenderer(RenderArena*, RenderStyle*);
virtual bool rendererIsNeeded(const NodeRenderingContext&);
void recalcStyle(StyleChange = NoChange, int childIndex = 0);
@@ -715,7 +715,7 @@ private:
void detachAttrNodeFromElementWithValue(Attr*, const AtomicString& value);
void detachAttrNodeAtIndex(Attr*, size_t index);
- void createRendererIfNeeded();
+ void createRendererIfNeeded(const AttachContext&);
bool isJavaScriptURLAttribute(const Attribute&) const;

Powered by Google App Engine
This is Rietveld 408576698