Chromium Code Reviews

Unified Diff: Source/core/html/HTMLCanvasElement.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.
Jump to:
View side-by-side diff with in-line comments
Index: Source/core/html/HTMLCanvasElement.cpp
diff --git a/Source/core/html/HTMLCanvasElement.cpp b/Source/core/html/HTMLCanvasElement.cpp
index 8a60babe165d0af46c7758fd34050ba1d9d177de..2dba91de7edabacac00fd41c939822343197c4d1 100644
--- a/Source/core/html/HTMLCanvasElement.cpp
+++ b/Source/core/html/HTMLCanvasElement.cpp
@@ -119,10 +119,10 @@ RenderObject* HTMLCanvasElement::createRenderer(RenderArena* arena, RenderStyle*
return HTMLElement::createRenderer(arena, style);
}
-void HTMLCanvasElement::attach()
+void HTMLCanvasElement::attach(const AttachContext& context)
{
setIsInCanvasSubtree(true);
- HTMLElement::attach();
+ HTMLElement::attach(context);
}
void HTMLCanvasElement::addObserver(CanvasObserver* observer)

Powered by Google App Engine