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

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorHighlight.cpp

Issue 2701993002: DO NOT COMMIT: Results of running new (proposed) clang-format on Blink (Closed)
Patch Set: Created 3 years, 10 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: third_party/WebKit/Source/core/inspector/InspectorHighlight.cpp
diff --git a/third_party/WebKit/Source/core/inspector/InspectorHighlight.cpp b/third_party/WebKit/Source/core/inspector/InspectorHighlight.cpp
index fe169791f888c09167069e8336f2fa30f1678931..8ac2a2d688f8f7a12f1294d5439dbea053a57ef3 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorHighlight.cpp
+++ b/third_party/WebKit/Source/core/inspector/InspectorHighlight.cpp
@@ -185,8 +185,9 @@ std::unique_ptr<protocol::DictionaryValue> buildElementInfo(Element* element) {
realElement = element->parentOrShadowHostElement();
}
bool isXHTML = realElement->document().isXHTMLDocument();
- elementInfo->setString("tagName", isXHTML ? realElement->nodeName()
- : realElement->nodeName().lower());
+ elementInfo->setString(
+ "tagName",
+ isXHTML ? realElement->nodeName() : realElement->nodeName().lower());
elementInfo->setString("idValue", realElement->getIdAttribute());
StringBuilder classNames;
if (realElement->hasClass() && realElement->isStyledElement()) {

Powered by Google App Engine
This is Rietveld 408576698