Skip to content

Commit b05a7e3

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

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/moz2d_renderer.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
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;
1515
use rayon::prelude::*;
1616
use rayon::ThreadPool;
1717
use webrender::api::units::{BlobDirtyRect, BlobToDeviceTranslation, DeviceIntRect};
@@ -509,7 +509,7 @@ impl AsyncBlobImageRasterizer for Moz2dBlobRasterizer {
509509
gecko_profiler_label!(Graphics, Rasterization);
510510
auto_profiler_marker_tracing!(
511511
"BlobRasterization",
512-
gecko_profiler_category!(Graphics),
512+
gecko_profiler::gecko_profiler_category!(Graphics),
513513
Default::default(),
514514
"Webrender".into()
515515
);

0 commit comments

Comments
 (0)