| 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()) {
|
|
|