Title: [238810] trunk/Source/WebKit
- Revision
- 238810
- Author
- [email protected]
- Date
- 2018-12-03 12:05:59 -0800 (Mon, 03 Dec 2018)
Log Message
Enable swipe snapshot removal logging in release builds
https://bugs.webkit.org/show_bug.cgi?id=192313
Reviewed by Dean Jackson.
* UIProcess/Cocoa/ViewGestureController.cpp:
(WebKit::ViewGestureController::SnapshotRemovalTracker::log const):
This is super-low-traffic and super-helpful logging.
Turn it on all the time.
Modified Paths
Diff
Modified: trunk/Source/WebKit/ChangeLog (238809 => 238810)
--- trunk/Source/WebKit/ChangeLog 2018-12-03 19:58:06 UTC (rev 238809)
+++ trunk/Source/WebKit/ChangeLog 2018-12-03 20:05:59 UTC (rev 238810)
@@ -1,3 +1,15 @@
+2018-12-03 Tim Horton <[email protected]>
+
+ Enable swipe snapshot removal logging in release builds
+ https://bugs.webkit.org/show_bug.cgi?id=192313
+
+ Reviewed by Dean Jackson.
+
+ * UIProcess/Cocoa/ViewGestureController.cpp:
+ (WebKit::ViewGestureController::SnapshotRemovalTracker::log const):
+ This is super-low-traffic and super-helpful logging.
+ Turn it on all the time.
+
2018-12-03 Yusuke Suzuki <[email protected]>
Use WallTime for file time
Modified: trunk/Source/WebKit/UIProcess/Cocoa/ViewGestureController.cpp (238809 => 238810)
--- trunk/Source/WebKit/UIProcess/Cocoa/ViewGestureController.cpp 2018-12-03 19:58:06 UTC (rev 238809)
+++ trunk/Source/WebKit/UIProcess/Cocoa/ViewGestureController.cpp 2018-12-03 20:05:59 UTC (rev 238810)
@@ -268,10 +268,8 @@
void ViewGestureController::SnapshotRemovalTracker::log(const String& log) const
{
-#if !LOG_DISABLED
auto sinceStart = MonotonicTime::now() - m_startTime;
-#endif
- LOG(ViewGestures, "Swipe Snapshot Removal (%0.2f ms) - %s", sinceStart.milliseconds(), log.utf8().data());
+ RELEASE_LOG(ViewGestures, "Swipe Snapshot Removal (%0.2f ms) - %{public}s", sinceStart.milliseconds(), log.utf8().data());
}
void ViewGestureController::SnapshotRemovalTracker::resume()
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes