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

Unified Diff: Source/core/dom/Text.cpp

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/Text.cpp
diff --git a/Source/core/dom/Text.cpp b/Source/core/dom/Text.cpp
index e2b1400cea7aebddcaba8d75853dea6d2cfebe7a..e277675007ef21c4fa022a5508edb05d3e6154e1 100644
--- a/Source/core/dom/Text.cpp
+++ b/Source/core/dom/Text.cpp
@@ -272,10 +272,10 @@ RenderText* Text::createTextRenderer(RenderArena* arena, RenderStyle* style)
return new (arena) RenderText(this, dataImpl());
}
-void Text::attach()
+void Text::attach(const AttachContext& context)
{
createTextRendererIfNeeded();
- CharacterData::attach();
+ CharacterData::attach(context);
}
void Text::recalcTextStyle(StyleChange change)

Powered by Google App Engine
This is Rietveld 408576698