⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 248356 in webkit


Ignore:
Timestamp:
Aug 6, 2019, 11:52:55 PM (7 years ago)
Author:
Kocsen Chung
Message:

Cherry-pick r248028. rdar://problem/54017896

ASSERTion failure under takeSnapshot after r247846

  • page/TextIndicator.cpp: (WebCore::takeSnapshots): We now sometimes inflate the scale factor; allow this.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@248028 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Location:
branches/safari-608.1-branch/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/safari-608.1-branch/Source/WebCore/ChangeLog

    r248355 r248356  
     12019-08-06  Kocsen Chung  <kocsen_chung@apple.com>
     2
     3        Cherry-pick r248028. rdar://problem/54017896
     4
     5    ASSERTion failure under takeSnapshot after r247846
     6   
     7    * page/TextIndicator.cpp:
     8    (WebCore::takeSnapshots):
     9    We now sometimes inflate the scale factor; allow this.
     10   
     11   
     12    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@248028 268f45cc-cd09-0410-ab3c-d52691b4dbfc
     13
     14    2019-07-30  Tim Horton  <timothy_horton@apple.com>
     15
     16            ASSERTion failure under takeSnapshot after r247846
     17
     18            * page/TextIndicator.cpp:
     19            (WebCore::takeSnapshots):
     20            We now sometimes inflate the scale factor; allow this.
     21
    1222019-08-06  Kocsen Chung  <kocsen_chung@apple.com>
    223
  • branches/safari-608.1-branch/Source/WebCore/page/TextIndicator.cpp

    r248351 r248356  
    170170        float snapshotScaleFactor;
    171171        data.contentImageWithHighlight = takeSnapshot(frame, snapshotRect, SnapshotOptionsNone, snapshotScaleFactor, clipRectsInDocumentCoordinates);
    172         ASSERT(!data.contentImageWithHighlight || data.contentImageScaleFactor == snapshotScaleFactor);
     172        ASSERT(!data.contentImageWithHighlight || data.contentImageScaleFactor >= snapshotScaleFactor);
    173173    }
    174174
Note: See TracChangeset for help on using the changeset viewer.