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

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

Issue 2393803004: blink: Enforce comment formatting (except in core/layout, for now) (Closed)
Patch Set: Created 4 years, 2 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/InspectorWebPerfAgent.cpp
diff --git a/third_party/WebKit/Source/core/inspector/InspectorWebPerfAgent.cpp b/third_party/WebKit/Source/core/inspector/InspectorWebPerfAgent.cpp
index a2e2c0a720a13581f876240dc447cbaa9faa00e2..5d539b6f7449780b8807a56677df6cec76528d05 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorWebPerfAgent.cpp
+++ b/third_party/WebKit/Source/core/inspector/InspectorWebPerfAgent.cpp
@@ -127,9 +127,10 @@ std::pair<String, DOMWindow*> InspectorWebPerfAgent::sanitizedAttribution(
// observer then indicate the *closest* cross-origin frame between
// the observer and the culprit, in the corresponding direction.
if (culpritLocation->frame()->tree().isDescendantOf(observerFrame)) {
- // If culprit is a descendant of the observer, then walk up the tree from culprit
- // to observer, and report the *last* cross-origin (from observer) frame.
- // If no intermediate cross-origin frame is found, then report the culprit directly.
+ // If the culprit is a descendant of the observer, then walk up the tree
+ // from culprit to observer, and report the *last* cross-origin (from
+ // observer) frame. If no intermediate cross-origin frame is found, then
+ // report the culprit directly.
Frame* lastCrossOriginFrame = culpritLocation->frame();
for (Frame* frame = culpritLocation->frame(); frame != observerFrame;
frame = frame->tree().parent()) {

Powered by Google App Engine
This is Rietveld 408576698