Changeset 247186 in webkit


Ignore:
Timestamp:
Jul 5, 2019 4:35:49 PM (5 years ago)
Author:
Michael Catanzaro
Message:

Unreviewed, fix -Wmisleading-indentation warning introduced in r246764
https://bugs.webkit.org/show_bug.cgi?id=199173
<rdar://problem/45968770>

  • contentextensions/ContentExtensionsBackend.cpp:

(WebCore::ContentExtensions::ContentExtensionsBackend::processContentRuleListsForLoad):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r247184 r247186  
     12019-07-05  Michael Catanzaro  <mcatanzaro@igalia.com>
     2
     3        Unreviewed, fix -Wmisleading-indentation warning introduced in r246764
     4        https://bugs.webkit.org/show_bug.cgi?id=199173
     5        <rdar://problem/45968770>
     6
     7        * contentextensions/ContentExtensionsBackend.cpp:
     8        (WebCore::ContentExtensions::ContentExtensionsBackend::processContentRuleListsForLoad):
     9
    1102019-07-05  Timothy Hatcher  <timothy@apple.com>
    211
  • trunk/Source/WebCore/contentextensions/ContentExtensionsBackend.cpp

    r246764 r247186  
    233233            currentDocument->addConsoleMessage(MessageSource::ContentBlocker, MessageLevel::Info, makeString("Content blocker promoted URL from ", url.string(), " to ", newProtocol));
    234234        }
    235         if (results.summary.blockedLoad)
     235        if (results.summary.blockedLoad) {
    236236            currentDocument->addConsoleMessage(MessageSource::ContentBlocker, MessageLevel::Info, makeString("Content blocker prevented frame displaying ", mainDocumentURL.string(), " from loading a resource from ", url.string()));
    237237       
     
    242242                    frame->script().evaluate(ScriptSourceCode { "try { window.dataLayer.hide.end(); console.log('Called window.dataLayer.hide.end() in frame ' + document.URL + ' because the content blocker blocked the load of the https://www.google-analytics.com/analytics.js script'); } catch (e) { }"_s });
    243243            }
     244        }
    244245    }
    245246
Note: See TracChangeset for help on using the changeset viewer.