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

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 (fixed test that was expected to fail and is now passing) 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/Text.h ('k') | Source/core/dom/shadow/InsertionPoint.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Text.cpp
diff --git a/Source/core/dom/Text.cpp b/Source/core/dom/Text.cpp
index 7a44150a5bc3193f8a5a1f65d05cb5bdaff0bea0..9ace889c425cee2227e1365d5dcf7b5f3cc521f0 100644
--- a/Source/core/dom/Text.cpp
+++ b/Source/core/dom/Text.cpp
@@ -270,10 +270,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)
« no previous file with comments | « Source/core/dom/Text.h ('k') | Source/core/dom/shadow/InsertionPoint.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698