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

Changeset 248028 in webkit


Ignore:
Timestamp:
Jul 30, 2019, 10:01:42 PM (7 years ago)
Author:
timothy_horton@apple.com
Message:

ASSERTion failure under takeSnapshot after r247846

  • page/TextIndicator.cpp:

(WebCore::takeSnapshots):
We now sometimes inflate the scale factor; allow this.

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r248025 r248028  
     12019-07-30  Tim Horton  <timothy_horton@apple.com>
     2
     3        ASSERTion failure under takeSnapshot after r247846
     4
     5        * page/TextIndicator.cpp:
     6        (WebCore::takeSnapshots):
     7        We now sometimes inflate the scale factor; allow this.
     8
    192019-07-30  Saam Barati  <sbarati@apple.com>
    210
  • trunk/Source/WebCore/page/TextIndicator.cpp

    r247846 r248028  
    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.