Changeset 241616 in webkit


Ignore:
Timestamp:
Feb 15, 2019 2:14:29 PM (5 years ago)
Author:
Devin Rousso
Message:

Web Inspector: Canvas: all actions after an offscreen path modification are marked as offscreen path errors
https://bugs.webkit.org/show_bug.cgi?id=194684

Reviewed by Joseph Pecoraro.

  • UserInterface/Models/RecordingAction.js:

(WI.RecordingAction.prototype.process):

Location:
trunk/Source/WebInspectorUI
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebInspectorUI/ChangeLog

    r241601 r241616  
     12019-02-15  Devin Rousso  <drousso@apple.com>
     2
     3        Web Inspector: Canvas: all actions after an offscreen path modification are marked as offscreen path errors
     4        https://bugs.webkit.org/show_bug.cgi?id=194684
     5
     6        Reviewed by Joseph Pecoraro.
     7
     8        * UserInterface/Models/RecordingAction.js:
     9        (WI.RecordingAction.prototype.process):
     10
    1112019-02-15  Devin Rousso  <drousso@apple.com>
    212
  • trunk/Source/WebInspectorUI/UserInterface/Models/RecordingAction.js

    r240489 r241616  
    252252            let lastState = null;
    253253            if (lastAction) {
    254                 let previousState = lastAction.states.lastValue;
     254                lastState = lastAction.states.lastValue;
    255255                for (let [name, value] of currentState) {
    256                     let previousValue = previousState.get(name);
     256                    let previousValue = lastState.get(name);
    257257                    if (value !== previousValue && !Object.shallowEqual(value, previousValue))
    258258                        this._stateModifiers.add(name);
Note: See TracChangeset for help on using the changeset viewer.