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

Changeset 243492 in webkit


Ignore:
Timestamp:
Mar 26, 2019, 5:09:50 AM (7 years ago)
Author:
commit-queue@webkit.org
Message:

[WPE][Qt] Uninitialized racy ViewBackend
https://bugs.webkit.org/show_bug.cgi?id=196247

Patch by Philippe Normand <pnormand@igalia.com> on 2019-03-26
Reviewed by Carlos Garcia Campos.

  • UIProcess/API/wpe/qt/WPEQtView.h: Initialize the backend pointer to nullptr.
Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r243491 r243492  
     12019-03-26  Philippe Normand  <pnormand@igalia.com>
     2
     3        [WPE][Qt] Uninitialized racy ViewBackend
     4        https://bugs.webkit.org/show_bug.cgi?id=196247
     5
     6        Reviewed by Carlos Garcia Campos.
     7
     8        * UIProcess/API/wpe/qt/WPEQtView.h: Initialize the backend pointer to nullptr.
     9
    1102019-03-26  Carlos Garcia Campos  <cgarcia@igalia.com>
    211
  • trunk/Source/WebKit/UIProcess/API/wpe/qt/WPEQtView.h

    r240141 r243492  
    116116    QUrl m_baseUrl;
    117117    QSizeF m_size;
    118     WPEQtViewBackend* m_backend;
     118    WPEQtViewBackend* m_backend { nullptr };
    119119    bool m_errorOccured { false };
    120120};
Note: See TracChangeset for help on using the changeset viewer.