Bug 1516133 - Avoid extra main-thread jumps during the URL-classification, r=dimi
authorAndrea Marchesini <amarchesini@mozilla.com>
Thu, 17 Jan 2019 12:30:27 +0100
changeset 514259 ff0feb041ccc0381977b00ab136bc7378bf6200e
parent 514258 4f97b5ecbc245ad54db815472424de26512aa6fe
child 514260 1bbec154fb73b0fa3756a9ed417815c87fc82b4e
child 514304 dae7a246b32daf628361e3fce4d5f56f4cf5b177
push id1953
push userffxbld-merge
push dateMon, 11 Mar 2019 12:10:20 +0000
treeherdermozilla-release@9c35dcbaa899 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdimi
bugs1516133
milestone66.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1516133 - Avoid extra main-thread jumps during the URL-classification, r=dimi
toolkit/components/url-classifier/nsUrlClassifierDBService.cpp
--- a/toolkit/components/url-classifier/nsUrlClassifierDBService.cpp
+++ b/toolkit/components/url-classifier/nsUrlClassifierDBService.cpp
@@ -106,17 +106,17 @@ class FeatureHolder final {
   NS_INLINE_DECL_THREADSAFE_REFCOUNTING(FeatureHolder);
 
   // In order to avoid multiple lookup for the same table, we have a special
   // array for tables and their results. The Features are stored in a separate
   // array together with the references to their tables.
 
   class TableData {
    public:
-    NS_INLINE_DECL_THREADSAFE_REFCOUNTING(TableData);
+    NS_INLINE_DECL_THREADSAFE_REFCOUNTING(FeatureHolder::TableData);
 
     explicit TableData(const nsACString& aTable) : mTable(aTable) {}
 
     nsCString mTable;
     LookupResultArray mResults;
 
    private:
     ~TableData() = default;