diff options
author | Gregory Terzian <gterzian@users.noreply.github.com> | 2019-03-31 15:02:01 +0800 |
---|---|---|
committer | Gregory Terzian <gterzian@users.noreply.github.com> | 2019-03-31 20:14:46 +0800 |
commit | 0780298b80fac803e9f57f8f839bbe4b3c36c388 (patch) | |
tree | bbb148822ada5c3006ed25b6c33ba6e2beba6149 /components/compositing/windowing.rs | |
parent | fcd6beb60819ef2960f70d10e82fa31ba56cc99b (diff) | |
download | servo-0780298b80fac803e9f57f8f839bbe4b3c36c388.tar.gz servo-0780298b80fac803e9f57f8f839bbe4b3c36c388.zip |
bound sampler buffer
Diffstat (limited to 'components/compositing/windowing.rs')
-rw-r--r-- | components/compositing/windowing.rs | 4 |
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 { |