Title: [86783] trunk/Source/WebKit2
- Revision
- 86783
- Author
- [email protected]
- Date
- 2011-05-18 12:54:59 -0700 (Wed, 18 May 2011)
Log Message
2011-05-18 Jon Lee <[email protected]>
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.
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (86782 => 86783)
--- trunk/Source/WebKit2/ChangeLog 2011-05-18 19:35:25 UTC (rev 86782)
+++ trunk/Source/WebKit2/ChangeLog 2011-05-18 19:54:59 UTC (rev 86783)
@@ -1,3 +1,13 @@
+2011-05-18 Jon Lee <[email protected]>
+
+ 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.
+
2011-05-18 Andreas Kling <[email protected]>
Reviewed by Kenneth Rohde Christiansen.
Modified: trunk/Source/WebKit2/WebProcess/InjectedBundle/InjectedBundlePageUIClient.cpp (86782 => 86783)
--- trunk/Source/WebKit2/WebProcess/InjectedBundle/InjectedBundlePageUIClient.cpp 2011-05-18 19:35:25 UTC (rev 86782)
+++ trunk/Source/WebKit2/WebProcess/InjectedBundle/InjectedBundlePageUIClient.cpp 2011-05-18 19:54:59 UTC (rev 86783)
@@ -117,6 +117,8 @@
bool InjectedBundlePageUIClient::shouldRubberBandInDirection(WebPage* page, WKScrollDirection direction) const
{
+ if (!m_client.shouldRubberBandInDirection)
+ return true;
return m_client.shouldRubberBandInDirection(toAPI(page), direction, m_client.clientInfo);
}
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes