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

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

Issue 18473002: Add an API to report debugName in GraphicsLayer (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: clear setName Created 7 years, 5 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/Node.cpp
diff --git a/Source/core/dom/Node.cpp b/Source/core/dom/Node.cpp
index 0ff8d8b871a3cdd306cf911100b1f68a9bdf2413..881387b1f5cb3ac9aab428c44fddf906258f466c 100644
--- a/Source/core/dom/Node.cpp
+++ b/Source/core/dom/Node.cpp
@@ -1863,8 +1863,6 @@ FloatPoint Node::convertFromPage(const FloatPoint& p) const
return p;
}
-#ifndef NDEBUG
-
String Node::debugName() const
{
StringBuilder name;
@@ -1890,6 +1888,8 @@ String Node::debugName() const
return name.toString();
}
+#ifndef NDEBUG
+
static void appendAttributeDesc(const Node* node, StringBuilder& stringBuilder, const QualifiedName& name, const char* attrDesc)
{
if (!node->isElementNode())

Powered by Google App Engine
This is Rietveld 408576698