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

Unified Diff: Source/core/html/HTMLMarqueeElement.cpp

Issue 722233005: Debug printf (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 1 month 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/frame/Location.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLMarqueeElement.cpp
diff --git a/Source/core/html/HTMLMarqueeElement.cpp b/Source/core/html/HTMLMarqueeElement.cpp
index c17fa69bf2205585b1e89b5c9ca30a54cabbc9da..55f2ff2424cdea7c81b23148db2b254541d8225a 100644
--- a/Source/core/html/HTMLMarqueeElement.cpp
+++ b/Source/core/html/HTMLMarqueeElement.cpp
@@ -54,6 +54,10 @@ void HTMLMarqueeElement::attributeWillChange(const QualifiedName& name, const At
Node::InsertionNotificationRequest HTMLMarqueeElement::insertedInto(ContainerNode* insertionPoint)
{
+ Element* e = insertionPoint->isElementNode() ? toElement(insertionPoint) : nullptr;
+ printf("HTMLMarqueeElement::insertedInto this:%p insertedto:%p (%s)\n", this, insertionPoint,
+ e ? e->tagName().utf8().data() : "");
+ fflush(stdout);
HTMLElement::insertedInto(insertionPoint);
if (inDocument()) {
V8HTMLMarqueeElement::PrivateScript::attachedCallbackMethod(document().frame(), this);
@@ -63,6 +67,10 @@ Node::InsertionNotificationRequest HTMLMarqueeElement::insertedInto(ContainerNod
void HTMLMarqueeElement::removedFrom(ContainerNode* insertionPoint)
{
+ Element* e = insertionPoint->isElementNode() ? toElement(insertionPoint) : nullptr;
+ printf("HTMLMarqueeElement::removedFrom this:%p from:%p (%s)\n", this, insertionPoint,
+ e ? e->tagName().utf8().data() : "");
+ fflush(stdout);
HTMLElement::removedFrom(insertionPoint);
if (insertionPoint->inDocument()) {
V8HTMLMarqueeElement::PrivateScript::detachedCallbackMethod(insertionPoint->document().frame(), this);
« no previous file with comments | « Source/core/frame/Location.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698