Skip to content

Commit 69802ea

Browse files
author
Alexandre Lissy
committed
Bug 1913469 - Fix --disable-gecko-profiler r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D219346
1 parent f766ebb commit 69802ea

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/moz2d_renderer.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@
1111
1212
use bindings::{wr_moz2d_render_cb, ArcVecU8, ByteSlice, MutByteSlice};
1313
use gecko_profiler::gecko_profiler_label;
14-
use gecko_profiler::{auto_profiler_marker_tracing, gecko_profiler_category};
14+
use gecko_profiler::auto_profiler_marker_tracing;
15+
#[cfg(feature = "gecko_profiler")]
16+
use gecko_profiler::gecko_profiler_category;
1517
use rayon::prelude::*;
1618
use rayon::ThreadPool;
1719
use webrender::api::units::{BlobDirtyRect, BlobToDeviceTranslation, DeviceIntRect};

0 commit comments

Comments
 (0)