diff options
author | George Mount <mount@google.com> | 2012-05-02 16:49:39 -0700 |
---|---|---|
committer | George Mount <mount@google.com> | 2012-05-02 16:49:39 -0700 |
commit | 3ce211da38790a873931262f1a8d6806132680f4 (patch) | |
tree | 329f0499d7f8ab24913c98460023cddb3483676c | |
parent | 940c47782e72ed37ba9f1193af1265a56a3df7e1 (diff) | |
download | external_webkit-3ce211da38790a873931262f1a8d6806132680f4.zip external_webkit-3ce211da38790a873931262f1a8d6806132680f4.tar.gz external_webkit-3ce211da38790a873931262f1a8d6806132680f4.tar.bz2 |
Fix mapLayerRect to modify the mapped rectangle.
Bug 6434432
Change-Id: I42181f232332e4c015ed403d53248b9e0b787043
-rw-r--r-- | Source/WebKit/android/nav/WebView.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/WebKit/android/nav/WebView.cpp b/Source/WebKit/android/nav/WebView.cpp index c1d6a88..b490373 100644 --- a/Source/WebKit/android/nav/WebView.cpp +++ b/Source/WebKit/android/nav/WebView.cpp @@ -629,7 +629,7 @@ int getHandleLayerId(SelectText::HandleId handleId, SkIPoint& cursorPoint, void mapLayerRect(int layerId, SkIRect& rect) { const TransformationMatrix* transform = getLayerTransform(layerId); if (transform) - transform->mapRect(rect); + rect = transform->mapRect(rect); } void floatQuadToQuadF(JNIEnv* env, const FloatQuad& nativeTextQuad, |