Changeset 223286 in webkit


Ignore:
Timestamp:
Oct 13, 2017 10:30:50 AM (7 years ago)
Author:
achristensen@apple.com
Message:

Fix API tests after r223269.
https://bugs.webkit.org/show_bug.cgi?id=178246

  • UIProcess/API/APIContentRuleListStore.cpp:

(API::ContentRuleListStore::getContentRuleListSource):
Version 10 also has the ability to recover content rule list source.

Location:
trunk/Source/WebKit
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r223282 r223286  
     12017-10-13  Alex Christensen  <achristensen@webkit.org>
     2
     3        Fix API tests after r223269.
     4        https://bugs.webkit.org/show_bug.cgi?id=178246
     5
     6        * UIProcess/API/APIContentRuleListStore.cpp:
     7        (API::ContentRuleListStore::getContentRuleListSource):
     8        Version 10 also has the ability to recover content rule list source.
     9
    1102017-10-11  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
    211
  • trunk/Source/WebKit/UIProcess/API/APIContentRuleListStore.cpp

    r220574 r223286  
    505505        switch (metaData.version) {
    506506        case 9:
     507        case 10:
    507508            if (!metaData.sourceSize) {
    508509                complete({ });
  • trunk/Source/WebKit/UIProcess/API/APIContentRuleListStore.h

    r223269 r223286  
    5353    // Also update ContentRuleListStore::getContentRuleListSource to be able to find the original JSON
    5454    // source from old versions.
     55    // Update ContentRuleListStore::getContentRuleListSource with this.
    5556    const static uint32_t CurrentContentRuleListFileVersion = 10;
    5657
Note: See TracChangeset for help on using the changeset viewer.