Changeset 254649 in webkit
- Timestamp:
- Jan 15, 2020 3:07:43 PM (4 years ago)
- Location:
- branches/safari-609-branch/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/safari-609-branch/Source/WebCore/ChangeLog
r254648 r254649 1 2020-01-15 Alan Coon <alancoon@apple.com> 2 3 Cherry-pick r254267. rdar://problem/58606290 4 5 Reformat FrameView logging 6 https://bugs.webkit.org/show_bug.cgi?id=205984 7 <rdar://problem/58431722> 8 9 Reviewed by Brent Fulgham. 10 11 Update the format used by FrameView in its RELEASE_LOG logging. Use 12 the format used by WebPageProxy and NetworkResourceLoader, which is 13 generally of the form: 14 15 <object-address> - [<values that help thread together operations>] <class>::<method>: <message and other useful values> 16 17 So, for example: 18 19 0x4a1cf8010 - FrameView::fireLayoutRelatedMilestonesIfNeeded() - firing first visually non-empty layout milestone on the main frame 20 21 becomes: 22 23 0x561be8010 - [frame=0x55d47e000, main=1] FrameView::fireLayoutRelatedMilestonesIfNeeded: Firing first visually non-empty layout milestone on the main frame 24 25 No new tests -- no new or changed functionality. 26 27 * page/FrameView.cpp: 28 (WebCore::FrameView::paintContents): 29 (WebCore::FrameView::fireLayoutRelatedMilestonesIfNeeded): 30 31 32 git-svn-id: https://svn.webkit.org/repository/webkit/trunk@254267 268f45cc-cd09-0410-ab3c-d52691b4dbfc 33 34 2020-01-09 Keith Rollin <krollin@apple.com> 35 36 Reformat FrameView logging 37 https://bugs.webkit.org/show_bug.cgi?id=205984 38 <rdar://problem/58431722> 39 40 Reviewed by Brent Fulgham. 41 42 Update the format used by FrameView in its RELEASE_LOG logging. Use 43 the format used by WebPageProxy and NetworkResourceLoader, which is 44 generally of the form: 45 46 <object-address> - [<values that help thread together operations>] <class>::<method>: <message and other useful values> 47 48 So, for example: 49 50 0x4a1cf8010 - FrameView::fireLayoutRelatedMilestonesIfNeeded() - firing first visually non-empty layout milestone on the main frame 51 52 becomes: 53 54 0x561be8010 - [frame=0x55d47e000, main=1] FrameView::fireLayoutRelatedMilestonesIfNeeded: Firing first visually non-empty layout milestone on the main frame 55 56 No new tests -- no new or changed functionality. 57 58 * page/FrameView.cpp: 59 (WebCore::FrameView::paintContents): 60 (WebCore::FrameView::fireLayoutRelatedMilestonesIfNeeded): 61 1 62 2020-01-15 Alan Coon <alancoon@apple.com> 2 63 -
branches/safari-609-branch/Source/WebCore/page/FrameView.cpp
r253673 r254649 133 133 #endif 134 134 135 #define RELEASE_LOG_IF_ALLOWED(fmt, ...) RELEASE_LOG_IF(frame().page() && frame().page()->isAlwaysOnLoggingAllowed(), Layout, "%p - FrameView::" fmt, this, ##__VA_ARGS__)135 #define FRAMEVIEW_RELEASE_LOG_IF_ALLOWED(channel, fmt, ...) RELEASE_LOG_IF(frame().page() && frame().page()->isAlwaysOnLoggingAllowed(), channel, "%p - [frame=%p, main=%d] FrameView::" fmt, this, &frame(), frame().isMainFrame(), ##__VA_ARGS__) 136 136 137 137 namespace WebCore { … … 4186 4186 ASSERT(!needsLayout()); 4187 4187 if (needsLayout()) { 4188 RELEASE_LOG_IF_ALLOWED("FrameView::paintContents() - not painting because render tree needs layout (is main frame %d)", frame().isMainFrame());4188 FRAMEVIEW_RELEASE_LOG_IF_ALLOWED(Layout, "paintContents: Not painting because render tree needs layout"); 4189 4189 return; 4190 4190 } … … 5156 5156 if (milestonesAchieved && frame().isMainFrame()) { 5157 5157 if (milestonesAchieved.contains(DidFirstVisuallyNonEmptyLayout)) 5158 RELEASE_LOG_IF_ALLOWED("fireLayoutRelatedMilestonesIfNeeded() - firing first visually non-empty layout milestone on the main frame");5158 FRAMEVIEW_RELEASE_LOG_IF_ALLOWED(Layout, "fireLayoutRelatedMilestonesIfNeeded: Firing first visually non-empty layout milestone on the main frame"); 5159 5159 frame().loader().didReachLayoutMilestone(milestonesAchieved); 5160 5160 }
Note: See TracChangeset
for help on using the changeset viewer.