Changeset 86783 in webkit


Ignore:
Timestamp:
May 18, 2011 12:54:59 PM (13 years ago)
Author:
jonlee@apple.com
Message:

2011-05-18 Jon Lee <jonlee@apple.com>

Reviewed by Simon Fraser.

Crash in injected bundle client
https://bugs.webkit.org/show_bug.cgi?id=61086

  • WebProcess/InjectedBundle/InjectedBundlePageUIClient.cpp: (WebKit::InjectedBundlePageUIClient::shouldRubberBandInDirection): Check for existence of method in client prior to calling.
Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r86767 r86783  
     12011-05-18  Jon Lee  <jonlee@apple.com>
     2
     3        Reviewed by Simon Fraser.
     4
     5        Crash in injected bundle client
     6        https://bugs.webkit.org/show_bug.cgi?id=61086
     7
     8        * WebProcess/InjectedBundle/InjectedBundlePageUIClient.cpp:
     9        (WebKit::InjectedBundlePageUIClient::shouldRubberBandInDirection): Check for existence of method in client prior to calling.
     10
    1112011-05-18  Andreas Kling  <kling@webkit.org>
    212
  • trunk/Source/WebKit2/WebProcess/InjectedBundle/InjectedBundlePageUIClient.cpp

    r86584 r86783  
    118118bool InjectedBundlePageUIClient::shouldRubberBandInDirection(WebPage* page, WKScrollDirection direction) const
    119119{
     120    if (!m_client.shouldRubberBandInDirection)
     121        return true;
    120122    return m_client.shouldRubberBandInDirection(toAPI(page), direction, m_client.clientInfo);
    121123}
Note: See TracChangeset for help on using the changeset viewer.