Title: [124232] trunk/Source/WebKit/chromium
- Revision
- 124232
- Author
- [email protected]
- Date
- 2012-07-31 12:01:46 -0700 (Tue, 31 Jul 2012)
Log Message
Typo: doubleTa*b*ZoomAnimationDurationInSeconds in WebViewImpl.cpp
https://bugs.webkit.org/show_bug.cgi?id=92135
Reviewed by Kentaro Hara.
This patch fixes a typo.
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::animateZoomAroundPoint):
Modified Paths
Diff
Modified: trunk/Source/WebKit/chromium/ChangeLog (124231 => 124232)
--- trunk/Source/WebKit/chromium/ChangeLog 2012-07-31 18:56:26 UTC (rev 124231)
+++ trunk/Source/WebKit/chromium/ChangeLog 2012-07-31 19:01:46 UTC (rev 124232)
@@ -1,3 +1,15 @@
+2012-07-30 Adam Barth <[email protected]>
+
+ Typo: doubleTa*b*ZoomAnimationDurationInSeconds in WebViewImpl.cpp
+ https://bugs.webkit.org/show_bug.cgi?id=92135
+
+ Reviewed by Kentaro Hara.
+
+ This patch fixes a typo.
+
+ * src/WebViewImpl.cpp:
+ (WebKit::WebViewImpl::animateZoomAroundPoint):
+
2012-07-31 Sheriff Bot <[email protected]>
Unreviewed, rolling out r124179.
Modified: trunk/Source/WebKit/chromium/src/WebViewImpl.cpp (124231 => 124232)
--- trunk/Source/WebKit/chromium/src/WebViewImpl.cpp 2012-07-31 18:56:26 UTC (rev 124231)
+++ trunk/Source/WebKit/chromium/src/WebViewImpl.cpp 2012-07-31 19:01:46 UTC (rev 124232)
@@ -195,7 +195,7 @@
static const float minScaleDifference = 0.01f;
static const float doubleTapZoomContentDefaultMargin = 5;
static const float doubleTapZoomContentMinimumMargin = 2;
-static const double doubleTabZoomAnimationDurationInSeconds = 0.25;
+static const double doubleTapZoomAnimationDurationInSeconds = 0.25;
// Constants for zooming in on a focused text field.
static const double scrollAndScaleAnimationDurationInSeconds = 0.2;
@@ -1112,7 +1112,7 @@
computeScaleAndScrollForHitRect(WebRect(point.x(), point.y(), 0, 0), zoomType, scale, scroll);
bool isDoubleTap = (zoomType == DoubleTap);
- double durationInSeconds = isDoubleTap ? doubleTabZoomAnimationDurationInSeconds : 0;
+ double durationInSeconds = isDoubleTap ? doubleTapZoomAnimationDurationInSeconds : 0;
startPageScaleAnimation(scroll, isDoubleTap, scale, durationInSeconds);
#endif
}
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes