aboutsummaryrefslogtreecommitdiffstats
path: root/components/compositing/windowing.rs
diff options
context:
space:
mode:
authorGregory Terzian <gterzian@users.noreply.github.com>2019-03-31 15:02:01 +0800
committerGregory Terzian <gterzian@users.noreply.github.com>2019-03-31 20:14:46 +0800
commit0780298b80fac803e9f57f8f839bbe4b3c36c388 (patch)
treebbb148822ada5c3006ed25b6c33ba6e2beba6149 /components/compositing/windowing.rs
parentfcd6beb60819ef2960f70d10e82fa31ba56cc99b (diff)
downloadservo-0780298b80fac803e9f57f8f839bbe4b3c36c388.tar.gz
servo-0780298b80fac803e9f57f8f839bbe4b3c36c388.zip
bound sampler buffer
Diffstat (limited to 'components/compositing/windowing.rs')
-rw-r--r--components/compositing/windowing.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/compositing/windowing.rs b/components/compositing/windowing.rs
index 7648cb7ee59..7afcdde9a47 100644
--- a/components/compositing/windowing.rs
+++ b/components/compositing/windowing.rs
@@ -95,8 +95,8 @@ pub enum WindowEvent {
ToggleWebRenderDebug(WebRenderDebugOption),
/// Capture current WebRender
CaptureWebRender,
- /// Toggle sampling profiler with the given sampling rate
- ToggleSamplingProfiler(Duration),
+ /// Toggle sampling profiler with the given sampling rate and max duration.
+ ToggleSamplingProfiler(Duration, Duration),
}
impl Debug for WindowEvent {