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

Changeset 212839 in webkit


Ignore:
Timestamp:
Feb 22, 2017, 10:03:13 AM (10 years ago)
Author:
commit-queue@webkit.org
Message:

[GTK] Do not use g_return_if_fail in EventSenderProxy::continuousMouseScrollBy
​https://bugs.webkit.org/show_bug.cgi?id=168721

Patch by Carlos Garcia Campos <​cgarcia@igalia.com> on 2017-02-22
Reviewed by Michael Catanzaro.

Use WTFLogAlways instead. It's still shown in stderr, but it won't crash if we ever run tests with fatal
criticals.

  • WebKitTestRunner/gtk/EventSenderProxyGtk.cpp:

(WTR::EventSenderProxy::continuousMouseScrollBy):

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r212812 r212839  
     12017-02-22  Carlos Garcia Campos  <cgarcia@igalia.com>
     2
     3        [GTK] Do not use g_return_if_fail in EventSenderProxy::continuousMouseScrollBy
     4        https://bugs.webkit.org/show_bug.cgi?id=168721
     5
     6        Reviewed by Michael Catanzaro.
     7
     8        Use WTFLogAlways instead. It's still shown in stderr, but it won't crash if we ever run tests with fatal
     9        criticals.
     10
     11        * WebKitTestRunner/gtk/EventSenderProxyGtk.cpp:
     12        (WTR::EventSenderProxy::continuousMouseScrollBy):
     13
    1142017-02-21  Youenn Fablet  <youenn@apple.com>
    215
  • trunk/Tools/WebKitTestRunner/gtk/EventSenderProxyGtk.cpp

    r212205 r212839  
    442442{
    443443    // Gtk+ does not support paged scroll events.
    444     g_return_if_fail(!paged);
     444    if (paged) {
     445        WTFLogAlways("EventSenderProxy::continuousMouseScrollBy not implemented for paged scroll events");
     446        return;
     447    }
    445448
    446449    GdkEvent* event = gdk_event_new(GDK_SCROLL);
Note: See TracChangeset for help on using the changeset viewer.