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

Issue 2000063008: Change FrameBlameContext's type from "Frame" to "RenderFrame" (Closed)

Created:
4 years, 6 months ago by Xiaocheng
Modified:
4 years, 6 months ago
Reviewers:
Charlie Reis, Sami
CC:
chromium-reviews, darin-cc_chromium.org, jam, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Change FrameBlameContext's type from "Frame" to "RenderFrame" This patch changes FrameBlameContext's type to keep it consistent with trace viewer's tracing/extras/chrome/render_frame.html, so that the traced FrameBlameContext objects can be instantiated correctly as RenderFrameInstance/Snapshot instead of general ObjectInstance/Snapshot. This also helps reducing the use of the heavily overloaded term "Frame". BUG=546021 Committed: https://crrev.com/9b9e5ba584e32de6cf5202077b1cbe79a76619e6 Cr-Commit-Position: refs/heads/master@{#396340}

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M content/renderer/frame_blame_context.cc View 1 chunk +1 line, -1 line 2 comments Download

Messages

Total messages: 11 (4 generated)
Xiaocheng
PTAL. In fact I'm wondering why FrameBlameContext uses "Frame" instead of "RenderFrame" in the first ...
4 years, 6 months ago (2016-05-26 08:58:03 UTC) #3
Sami
lgtm, it was really an arbitrary choice so I'm all for being more specific.
4 years, 6 months ago (2016-05-26 10:47:56 UTC) #4
Charlie Reis
LGTM, since it appears that FrameBlameContext is specific to a RenderFrame{Host} and not a FrameTreeNode ...
4 years, 6 months ago (2016-05-26 23:20:07 UTC) #5
Charlie Reis
https://codereview.chromium.org/2000063008/diff/1/content/renderer/frame_blame_context.cc File content/renderer/frame_blame_context.cc (right): https://codereview.chromium.org/2000063008/diff/1/content/renderer/frame_blame_context.cc#newcode36 content/renderer/frame_blame_context.cc:36: render_frame->GetRoutingID(), On 2016/05/26 23:20:07, Charlie Reis wrote: > Unrelated: ...
4 years, 6 months ago (2016-05-26 23:21:52 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2000063008/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2000063008/1
4 years, 6 months ago (2016-05-27 01:08:43 UTC) #8
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 6 months ago (2016-05-27 01:13:12 UTC) #9
commit-bot: I haz the power
4 years, 6 months ago (2016-05-27 01:14:34 UTC) #11
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/9b9e5ba584e32de6cf5202077b1cbe79a76619e6
Cr-Commit-Position: refs/heads/master@{#396340}

Powered by Google App Engine
This is Rietveld 408576698